summaryrefslogtreecommitdiff
path: root/src/main/java/gmail/Lance5057/proxy/ClientProxy.java
blob: db933ea1ab777898635103bbbe183edba0e647ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package gmail.Lance5057.proxy;

import gmail.Lance5057.blocks.Renderer_CrestMount;
import gmail.Lance5057.blocks.TileEntity_CrestMount;
import gmail.Lance5057.proxy.CommonProxy;
import gmail.Lance5057.items.ModelTinkerArmor;
import gmail.Lance5057.items.TinkerArmor;
import net.minecraft.client.model.ModelBiped;
import cpw.mods.fml.client.registry.ClientRegistry;


public class ClientProxy extends CommonProxy {
	private static final ModelTinkerArmor tutChest = new ModelTinkerArmor(1.0f);
	
        @Override
        public void registerRenderers() {
                // This is for rendering entities and so forth later on
        	ClientRegistry.bindTileEntitySpecialRenderer(TileEntity_CrestMount.class, new Renderer_CrestMount());
        }
        
        public void registerTileEntitySpecialRenderer()
        {
        	
        }
        @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
        } 
      
}