diff options
| author | Lance5057 <Lance5057@gmail.com> | 2015-01-21 20:04:34 -0600 |
|---|---|---|
| committer | Lance5057 <Lance5057@gmail.com> | 2015-01-21 20:04:34 -0600 |
| commit | b4eb8f2d65c62afccc898808b44fdddfde0c15d1 (patch) | |
| tree | ee3a9f47a22418a6778c299cc96b4fedc2265afe /src/main/java/gmail/Lance5057/proxy/ClientProxy.java | |
| parent | 39642dce74d23f025b71d5766c1ac8489a41a802 (diff) | |
Startup
I hope I'm doing this right...
Diffstat (limited to 'src/main/java/gmail/Lance5057/proxy/ClientProxy.java')
| -rw-r--r-- | src/main/java/gmail/Lance5057/proxy/ClientProxy.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/main/java/gmail/Lance5057/proxy/ClientProxy.java b/src/main/java/gmail/Lance5057/proxy/ClientProxy.java new file mode 100644 index 0000000..db933ea --- /dev/null +++ b/src/main/java/gmail/Lance5057/proxy/ClientProxy.java @@ -0,0 +1,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 + } + +}
\ No newline at end of file |
