Search in sources :

Example 1 with ItemInterfaceRenderer

use of com.cjm721.overloaded.client.render.tile.ItemInterfaceRenderer in project Overloaded by CJ-MC-Mods.

the class BlockItemInterface method registerModel.

@SideOnly(Side.CLIENT)
@Override
public void registerModel() {
    ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(getRegistryName(), null));
    ClientRegistry.bindTileEntitySpecialRenderer(TileItemInterface.class, new ItemInterfaceRenderer());
}
Also used : ItemInterfaceRenderer(com.cjm721.overloaded.client.render.tile.ItemInterfaceRenderer) ModelResourceLocation(net.minecraft.client.renderer.block.model.ModelResourceLocation) SideOnly(net.minecraftforge.fml.relauncher.SideOnly)

Aggregations

ItemInterfaceRenderer (com.cjm721.overloaded.client.render.tile.ItemInterfaceRenderer)1 ModelResourceLocation (net.minecraft.client.renderer.block.model.ModelResourceLocation)1 SideOnly (net.minecraftforge.fml.relauncher.SideOnly)1