Decided to go for a more "separated" TE registration.

This will still make it so addons still get to add custom blocks without having to change too much of the internals.

It still needs thorough testing though. I don't want to change this too much because it ruins older worlds.
This commit is contained in:
Gunther De Wachter
2017-07-04 15:40:57 +02:00
parent 20fc0e136d
commit 0e2f8a22a2
8 changed files with 87 additions and 106 deletions
@@ -32,34 +32,6 @@ public class TileCraftingStorageTile extends TileCraftingTile
{
private static final int KILO_SCALAR = 1024;
public static class TileCraftingStorageTile1k extends TileCraftingStorageTile
{
public TileCraftingStorageTile1k() {
super();
}
}
public static class TileCraftingStorageTile4k extends TileCraftingStorageTile
{
public TileCraftingStorageTile4k() {
super();
}
}
public static class TileCraftingStorageTile16k extends TileCraftingStorageTile
{
public TileCraftingStorageTile16k() {
super();
}
}
public static class TileCraftingStorageTile64k extends TileCraftingStorageTile
{
public TileCraftingStorageTile64k() {
super();
}
}
@Override
protected ItemStack getItemFromTile( final Object obj )
{