First attempt at combining the Block registration and TE registration whilst still keeping support for addons.

It might need some refinement in the future.
This commit is contained in:
Gunther De Wachter
2017-07-14 04:47:40 +02:00
parent c91b432e09
commit 458356a2be
10 changed files with 214 additions and 119 deletions
@@ -22,7 +22,7 @@ package appeng.bootstrap;
import java.util.function.BiConsumer;
import java.util.function.Function;
import appeng.tile.AEBaseTile;
import appeng.bootstrap.definitions.TileEntityDefinition;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
@@ -48,7 +48,7 @@ public interface IBlockBuilder
IBlockBuilder rendering( BlockRenderingCustomizer callback );
IBlockBuilder tileEntity( Class<? extends AEBaseTile> teClass );
IBlockBuilder tileEntity( TileEntityDefinition tileEntityDefinition );
/**
* Don't register an item for this block.