package gmail.Lance5057.proxy; import gmail.Lance5057.blocks.Renderer_CrestMount; import gmail.Lance5057.containers.Container_CrestMount; import gmail.Lance5057.gui.Gui_CrestMount; import gmail.Lance5057.items.ModelTinkerArmor; import gmail.Lance5057.tileentities.TileEntity_CrestMount; import net.minecraft.client.Minecraft; import net.minecraft.client.model.ModelBiped; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.network.simpleimpl.MessageContext; public class ClientProxy extends CommonProxy { private static final ModelTinkerArmor tutChest = new ModelTinkerArmor(1.0f); @Override public void registerRenderers() { ClientRegistry.bindTileEntitySpecialRenderer(TileEntity_CrestMount.class, new Renderer_CrestMount()); } @Override public ModelBiped getArmorModel(int id) { switch (id) { case 0: return tutChest; default: break; } return tutChest; //default, if whenever you should have passed on a wrong id } }