Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Client Proxy file:
- package com.animalcraft.proxy;
- import com.animalcraft.animal.BabyRedPanda;
- import com.animalcraft.animal.EntityBabyRedPanda;
- import com.animalcraft.animal.EntityRedPanda;
- import com.animalcraft.animal.RedPanda;
- import com.animalcraft.animal.RegRedPanda;
- import com.animalcraft.animal.RenderBabyRedPanda;
- import com.animalcraft.animal.RenderRedPanda;
- import cpw.mods.fml.client.registry.RenderingRegistry;
- import cpw.mods.fml.common.event.FMLInitializationEvent;
- import cpw.mods.fml.common.event.FMLPostInitializationEvent;
- import cpw.mods.fml.common.event.FMLPreInitializationEvent;
- public class Client extends Common
- {
- @Override
- public void preinit(FMLPreInitializationEvent event)
- {
- super.preinit(event);
- }
- @Override
- public void init(FMLInitializationEvent event)
- {
- super.init(event);
- }
- @Override
- public void postinit(FMLPostInitializationEvent event)
- {
- super.postinit(event);
- }
- public void registerRenderThings()
- {
- RenderingRegistry.registerEntityRenderingHandler(EntityRedPanda.class, new RenderRedPanda(new RedPanda(), 0));
- RenderingRegistry.registerEntityRenderingHandler(EntityBabyRedPanda.class, new RenderBabyRedPanda(new BabyRedPanda(), 0));
- }
- }
Add Comment
Please, Sign In to add comment