Guest User

Untitled

a guest
Apr 1st, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. package kamigreed.mod.medival.entityRender;
  2.  
  3. import kamigreed.mod.medival.entity.EntityGoblin;
  4. import kamigreed.mod.medival.entity.ModelGoblin;
  5. import net.minecraft.client.model.ModelBase;
  6. import net.minecraft.client.renderer.entity.RenderLiving;
  7. import net.minecraft.entity.Entity;
  8. import net.minecraft.entity.EntityLiving;
  9.  
  10. public class GoblinRender extends RenderLiving
  11. {
  12. protected ModelGoblin model;
  13.  
  14. public GoblinRender (ModelGoblin modelTutorial, float f)
  15. {
  16. super(modelTutorial, f);
  17. model = ((ModelGoblin)mainModel);
  18. }
  19.  
  20. public void renderTutorial(EntityGoblin entity, double par2, double par4, double par6, float par8, float par9)
  21. {
  22. super.doRenderLiving(entity, par2, par4, par6, par8, par9);
  23. }
  24.  
  25. public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
  26. {
  27. renderTutorial((EntityGoblin)par1EntityLiving, par2, par4, par6, par8, par9);
  28. }
  29.  
  30. public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
  31. {
  32. renderTutorial((EntityGoblin)par1Entity, par2, par4, par6, par8, par9);
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment