Search in sources :

Example 1 with BlockAntibarrel

use of com.latmod.yabba.block.BlockAntibarrel in project YABBA by LatvianModder.

the class YabbaItems method registerBlocks.

@SubscribeEvent
public static void registerBlocks(RegistryEvent.Register<Block> event) {
    event.getRegistry().registerAll(new BlockItemBarrel("item_barrel"), new BlockItemBarrelConnector("item_barrel_connector"), new BlockAntibarrel("antibarrel"), new BlockCompoundItemBarrel("compound_item_barrel"));
    GameRegistry.registerTileEntity(TileItemBarrel.class, Yabba.MOD_ID + ":item_barrel");
    GameRegistry.registerTileEntity(TileItemBarrelConnector.class, Yabba.MOD_ID + ":item_barrel_connector");
    GameRegistry.registerTileEntity(TileAntibarrel.class, Yabba.MOD_ID + ":antibarrel");
    GameRegistry.registerTileEntity(TileCompoundItemBarrel.class, Yabba.MOD_ID + ":compound_item_barrel");
}
Also used : BlockAntibarrel(com.latmod.yabba.block.BlockAntibarrel) BlockCompoundItemBarrel(com.latmod.yabba.block.BlockCompoundItemBarrel) BlockItemBarrelConnector(com.latmod.yabba.block.BlockItemBarrelConnector) BlockItemBarrel(com.latmod.yabba.block.BlockItemBarrel) SubscribeEvent(net.minecraftforge.fml.common.eventhandler.SubscribeEvent)

Aggregations

BlockAntibarrel (com.latmod.yabba.block.BlockAntibarrel)1 BlockCompoundItemBarrel (com.latmod.yabba.block.BlockCompoundItemBarrel)1 BlockItemBarrel (com.latmod.yabba.block.BlockItemBarrel)1 BlockItemBarrelConnector (com.latmod.yabba.block.BlockItemBarrelConnector)1 SubscribeEvent (net.minecraftforge.fml.common.eventhandler.SubscribeEvent)1