Guest User

Untitled

a guest
Sep 6th, 2018
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. Client Proxy file:
  2.  
  3.  
  4.  
  5. package com.animalcraft.proxy;
  6.  
  7. import com.animalcraft.animal.BabyRedPanda;
  8. import com.animalcraft.animal.EntityBabyRedPanda;
  9. import com.animalcraft.animal.EntityRedPanda;
  10. import com.animalcraft.animal.RedPanda;
  11. import com.animalcraft.animal.RegRedPanda;
  12. import com.animalcraft.animal.RenderBabyRedPanda;
  13. import com.animalcraft.animal.RenderRedPanda;
  14.  
  15. import cpw.mods.fml.client.registry.RenderingRegistry;
  16. import cpw.mods.fml.common.event.FMLInitializationEvent;
  17. import cpw.mods.fml.common.event.FMLPostInitializationEvent;
  18. import cpw.mods.fml.common.event.FMLPreInitializationEvent;
  19.  
  20. public class Client extends Common
  21. {
  22. @Override
  23. public void preinit(FMLPreInitializationEvent event)
  24. {
  25. super.preinit(event);
  26. }
  27. @Override
  28. public void init(FMLInitializationEvent event)
  29. {
  30. super.init(event);
  31. }
  32. @Override
  33. public void postinit(FMLPostInitializationEvent event)
  34. {
  35. super.postinit(event);
  36. }
  37.  
  38. public void registerRenderThings()
  39. {
  40. RenderingRegistry.registerEntityRenderingHandler(EntityRedPanda.class, new RenderRedPanda(new RedPanda(), 0));
  41. RenderingRegistry.registerEntityRenderingHandler(EntityBabyRedPanda.class, new RenderBabyRedPanda(new BabyRedPanda(), 0));
  42. }
  43. }
Add Comment
Please, Sign In to add comment