TitanChase

Untitled

Feb 22nd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.69 KB | None | 0 0
  1. public class RenderHumanoid extends RenderBiped<EntityLivingAI>
  2. {
  3.     public RenderHumanoid(RenderManager renderManagerIn)
  4.     {
  5.         super(renderManagerIn, new ModelBiped(), 0.5f);
  6.         LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this)
  7.         {
  8.             protected void initArmor()
  9.             {
  10.                 this.modelLeggings = new ModelBiped();
  11.                 this.modelArmor = new ModelBiped();
  12.             }
  13.         };
  14.         this.addLayer(layerbipedarmor);
  15.     }
  16.  
  17.     @Override
  18.     protected ResourceLocation getEntityTexture(EntityLivingAI entity)
  19.     {
  20.         return ResourceLocationHelper.getEntityLocation(References.Mod.Id, "human.png");
  21.     }
  22. }
Add Comment
Please, Sign In to add comment