Search in sources :

Example 1 with RenderItemBabyChest

use of com.dreammaster.modbabychest.RenderItemBabyChest in project NewHorizonsCoreMod by GTNewHorizons.

the class ClientProxy method registerRenderInfo.

public void registerRenderInfo() {
    BlockBabyChest.pRenderID = RenderingRegistry.getNextAvailableRenderId();
    TileEntitySpecialRenderer render = new RenderBabyChest();
    MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(MainRegistry._mBlockBabyChest), new RenderItemBabyChest());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBabyChest.class, render);
    MinecraftForge.EVENT_BUS.register(ch);
}
Also used : RenderBabyChest(com.dreammaster.modbabychest.RenderBabyChest) TileEntitySpecialRenderer(net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer) RenderItemBabyChest(com.dreammaster.modbabychest.RenderItemBabyChest)

Aggregations

RenderBabyChest (com.dreammaster.modbabychest.RenderBabyChest)1 RenderItemBabyChest (com.dreammaster.modbabychest.RenderItemBabyChest)1 TileEntitySpecialRenderer (net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer)1