Examples of AnimalModel


Examples of com.mojang.minecraft.model.AnimalModel

         super.hurt(var1, var2);
      }
   }

   public void renderModel(TextureManager var1, float var2, float var3, float var4, float var5, float var6, float var7) {
      AnimalModel var8;
      float var9 = (var8 = (AnimalModel)modelCache.getModel(this.modelName)).head.y;
      float var10 = var8.head.z;
      var8.head.y += (this.grazeO + (this.graze - this.grazeO) * var3) * 8.0F;
      var8.head.z -= this.grazeO + (this.graze - this.grazeO) * var3;
      super.renderModel(var1, var2, var3, var4, var5, var6, var7);
      if(this.hasFur) {
         GL11.glBindTexture(3553, var1.load("/mob/sheep_fur.png"));
         GL11.glDisable(2884);
         AnimalModel var11;
         (var11 = (AnimalModel)modelCache.getModel("sheep.fur")).head.yaw = var8.head.yaw;
         var11.head.pitch = var8.head.pitch;
         var11.head.y = var8.head.y;
         var11.head.x = var8.head.x;
         var11.body.yaw = var8.body.yaw;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.