Search in sources :

Example 1 with MultiblockRenderEvent

use of reborncore.client.multiblock.MultiblockRenderEvent in project TechReborn by TechReborn.

the class ClientProxy method init.

@Override
public void init(FMLInitializationEvent event) {
    super.init(event);
    MinecraftForge.EVENT_BUS.register(new StackToolTipEvent());
    multiblockRenderEvent = new MultiblockRenderEvent();
    MinecraftForge.EVENT_BUS.register(GuiSlotConfiguration.class);
    MinecraftForge.EVENT_BUS.register(multiblockRenderEvent);
    // TODO FIX ME
    ClientRegistry.registerKeyBinding(KeyBindings.config);
    ClientMultiBlocks.init();
    StateMap rubberLeavesStateMap = new StateMap.Builder().ignore(BlockRubberLeaves.CHECK_DECAY, BlockRubberLeaves.DECAYABLE).build();
    ModelLoader.setCustomStateMapper(ModBlocks.RUBBER_LEAVES, rubberLeavesStateMap);
}
Also used : MultiblockRenderEvent(reborncore.client.multiblock.MultiblockRenderEvent) StateMap(net.minecraft.client.renderer.block.statemap.StateMap)

Aggregations

StateMap (net.minecraft.client.renderer.block.statemap.StateMap)1 MultiblockRenderEvent (reborncore.client.multiblock.MultiblockRenderEvent)1