Package net.minecraft.src

Examples of net.minecraft.src.ModelRenderer


  public ModelCraftingTableII()
  {
      textureWidth = 128;
      textureHeight = 64;
   
      Table = new ModelRenderer(this, 0, 0);
      Table.addBox(-7F, 0F, -7F, 9, 16, 14);
      Table.setRotationPoint(0F, 0F, 0F);
      Table.setTextureSize(128, 64);
      Table.mirror = true;
      setRotation(Table, 0F, 0F, 0F);
      Door = new ModelRenderer(this, 96, 0);
      Door.addBox(0F, 0F, 0F, 1, 16, 13);
      Door.setRotationPoint(6F, 0F, -6F);
      Door.setTextureSize(128, 64);
      Door.mirror = true;
      setRotation(Door, 0F, 0F, 0F);
      door_side1 = new ModelRenderer(this, 61, 0);
      door_side1.addBox(0F, 0F, 0F, 4, 16, 1);
      door_side1.setRotationPoint(2F, 0F, -7F);
      door_side1.setTextureSize(128, 64);
      door_side1.mirror = true;
      setRotation(door_side1, 0F, 0F, 0F);
      door_side2 = new ModelRenderer(this, 71, 0);
      door_side2.addBox(0F, 0F, 0F, 4, 16, 1);
      door_side2.setRotationPoint(2F, 0F, 6F);
      door_side2.setTextureSize(128, 64);
      door_side2.mirror = true;
      setRotation(door_side2, 0F, 0F, 0F);
      door_topside1 = new ModelRenderer(this, 0, 46);
      door_topside1.addBox(0F, 0F, 0F, 4, 1, 12);
      door_topside1.setRotationPoint(2F, 0F, -6F);
      door_topside1.setTextureSize(128, 64);
      door_topside1.mirror = true;
      setRotation(door_topside1, 0F, 0F, 0F);
      door_topside2 = new ModelRenderer(this, 0, 33);
      door_topside2.addBox(0F, 0F, 0F, 4, 1, 12);
      door_topside2.setRotationPoint(2F, 15F, -5.8F);
      door_topside2.setTextureSize(128, 64);
      door_topside2.mirror = true;
      setRotation(door_topside2, 0F, 0F, 0F);
      Book = new ModelRenderer(this, 61, 23);
      Book.addBox(0F, 0F, 0F, 5, 1, 3);
      Book.setRotationPoint(-2F, -1F, 3.5F);
      Book.setTextureSize(128, 64);
      Book.mirror = true;
      setRotation(Book, 0F, 0.4833219F, 0F);
View Full Code Here


  ModelRenderer RightWingPart7;
  ModelRenderer RightWingPart8;

  public Wings(ModelBiped mb) {
    super(mb);
    LeftWingPart1 = new ModelRenderer(mb, 56, 0);
    LeftWingPart1.addBox(-1F, 1F, 3F, 1, 10, 1);
    LeftWingPart1.setRotationPoint(0F, 0F, 0F);
    LeftWingPart1.setTextureSize(64, 32);
    LeftWingPart1.mirror = true;
    setRotation(LeftWingPart1, 0F, 0.5007752F, 0.0174533F);
    LeftWingPart2 = new ModelRenderer(mb, 50, 0);
    LeftWingPart2.addBox(-1F, 0F, 4F, 1, 10, 2);
    LeftWingPart2.setRotationPoint(0F, 0F, 0F);
    LeftWingPart2.setTextureSize(64, 32);
    LeftWingPart2.mirror = true;
    setRotation(LeftWingPart2, 0F, 0.5182285F, 0.0349066F);
    LeftWingPart3 = new ModelRenderer(mb, 46, 0);
    LeftWingPart3.addBox(-1F, -1F, 6F, 1, 10, 1);
    LeftWingPart3.setRotationPoint(0F, 0F, 0F);
    LeftWingPart3.setTextureSize(64, 32);
    LeftWingPart3.mirror = true;
    setRotation(LeftWingPart3, 0F, 0.5356818F, 0.0523599F);
    LeftWingPart4 = new ModelRenderer(mb, 38, 0);
    LeftWingPart4.addBox(-1F, -2F, 7F, 1, 10, 3);
    LeftWingPart4.setRotationPoint(0F, 0F, 0F);
    LeftWingPart4.setTextureSize(64, 32);
    LeftWingPart4.mirror = true;
    setRotation(LeftWingPart4, 0F, 0.5531351F, 0.0698132F);
    LeftWingPart5 = new ModelRenderer(mb, 34, 0);
    LeftWingPart5.addBox(-1F, -1F, 10F, 1, 10, 1);
    LeftWingPart5.setRotationPoint(0F, 0F, 0F);
    LeftWingPart5.setTextureSize(64, 32);
    LeftWingPart5.mirror = true;
    setRotation(LeftWingPart5, 0F, 0.5531351F, 0.0523599F);
    LeftWingPart6 = new ModelRenderer(mb, 30, 0);
    LeftWingPart6.addBox(-1F, 0F, 11F, 1, 10, 1);
    LeftWingPart6.setRotationPoint(0F, 0F, 0F);
    LeftWingPart6.setTextureSize(64, 32);
    LeftWingPart6.mirror = true;
    setRotation(LeftWingPart6, 0F, 0.5705884F, 0.0349066F);
    LeftWingPart7 = new ModelRenderer(mb, 26, 0);
    LeftWingPart7.addBox(-1F, 1F, 12F, 1, 10, 1);
    LeftWingPart7.setRotationPoint(0F, 0F, 0F);
    LeftWingPart7.setTextureSize(64, 32);
    LeftWingPart7.mirror = true;
    setRotation(LeftWingPart7, 0F, 0.5880417F, 0.0174533F);
    LeftWingPart8 = new ModelRenderer(mb, 22, 0);
    LeftWingPart8.addBox(-1F, 3F, 13F, 1, 10, 1);
    LeftWingPart8.setRotationPoint(0F, 0F, 0F);
    LeftWingPart8.setTextureSize(64, 32);
    LeftWingPart8.mirror = true;
    setRotation(LeftWingPart8, 0F, 0.5880417F, 0F);
    LeftWingPart0 = new ModelRenderer(mb, 60, 0);
    LeftWingPart0.addBox(-1F, 2F, 2F, 1, 10, 1);
    LeftWingPart0.setRotationPoint(0F, 0F, 0F);
    LeftWingPart0.setTextureSize(64, 32);
    LeftWingPart0.mirror = true;
    setRotation(LeftWingPart0, 0F, 0.4833219F, 0F);
    RightWingPart0 = new ModelRenderer(mb, 60, 21);
    RightWingPart0.addBox(0F, 2F, 2F, 1, 10, 1);
    RightWingPart0.setRotationPoint(0F, 0F, 0F);
    RightWingPart0.setTextureSize(64, 32);
    RightWingPart0.mirror = true;
    setRotation(RightWingPart0, 0F, -0.4833166F, 0F);
    RightWingPart1 = new ModelRenderer(mb, 56, 21);
    RightWingPart1.addBox(0F, 1F, 3F, 1, 10, 1);
    RightWingPart1.setRotationPoint(0F, 0F, 0F);
    RightWingPart1.setTextureSize(64, 32);
    RightWingPart1.mirror = true;
    setRotation(RightWingPart1, 0F, -0.5007699F, -0.0174533F);
    RightWingPart2 = new ModelRenderer(mb, 50, 20);
    RightWingPart2.addBox(0F, 0F, 4F, 1, 10, 2);
    RightWingPart2.setRotationPoint(0F, 0F, 0F);
    RightWingPart2.setTextureSize(64, 32);
    RightWingPart2.mirror = true;
    setRotation(RightWingPart2, 0F, -0.5182232F, -0.0349066F);
    RightWingPart3 = new ModelRenderer(mb, 46, 21);
    RightWingPart3.addBox(0F, -1F, 6F, 1, 10, 1);
    RightWingPart3.setRotationPoint(0F, 0F, 0F);
    RightWingPart3.setTextureSize(64, 32);
    RightWingPart3.mirror = true;
    setRotation(RightWingPart3, 0.0174533F, -0.5356765F, -0.0523599F);
    RightWingPart4 = new ModelRenderer(mb, 38, 19);
    RightWingPart4.addBox(0F, -2F, 7F, 1, 10, 3);
    RightWingPart4.setRotationPoint(0F, 0F, 0F);
    RightWingPart4.setTextureSize(64, 32);
    RightWingPart4.mirror = true;
    setRotation(RightWingPart4, 0.0174533F, -0.5531297F, -0.0698132F);
    RightWingPart5 = new ModelRenderer(mb, 34, 21);
    RightWingPart5.addBox(0F, -1F, 10F, 1, 10, 1);
    RightWingPart5.setRotationPoint(0F, 0F, 0F);
    RightWingPart5.setTextureSize(64, 32);
    RightWingPart5.mirror = true;
    setRotation(RightWingPart5, 0.0174533F, -0.570583F, -0.0523599F);
    RightWingPart6 = new ModelRenderer(mb, 30, 21);
    RightWingPart6.addBox(0F, 0F, 11F, 1, 10, 1);
    RightWingPart6.setRotationPoint(0F, 0F, 0F);
    RightWingPart6.setTextureSize(64, 32);
    RightWingPart6.mirror = true;
    setRotation(RightWingPart6, 0.0174533F, -0.5880363F, -0.0349066F);
    RightWingPart7 = new ModelRenderer(mb, 26, 21);
    RightWingPart7.addBox(0F, 1F, 12F, 1, 10, 1);
    RightWingPart7.setRotationPoint(0F, 0F, 0F);
    RightWingPart7.setTextureSize(64, 32);
    RightWingPart7.mirror = true;
    setRotation(RightWingPart7, 0.0174533F, -0.6054896F, -0.0174533F);
    RightWingPart8 = new ModelRenderer(mb, 22, 21);
    RightWingPart8.addBox(0F, 3F, 13F, 1, 10, 1);
    RightWingPart8.setRotationPoint(0F, 0F, 0F);
    RightWingPart8.setTextureSize(64, 32);
    RightWingPart8.mirror = true;
    setRotation(RightWingPart8, 0.0174533F, -0.6229429F, 0F);
View Full Code Here

  public ModelRenderer bipedBottomHat;
  public ModelRenderer bipedTopHat;

  public TopHat(ModelBiped model) {
    super(model);
    bipedBottomHat = new ModelRenderer(model, 0, 0);
    bipedBottomHat.addBox(-5.5F, -9F, -5.5F, 11, 2, 11);
    bipedTopHat = new ModelRenderer(model, 0, 13);
    bipedTopHat.addBox(-3.5F, -17F, -3.5F, 7, 8, 7);
  }
View Full Code Here

  public ModelRenderer NotchHatTop;
  public ModelRenderer NotchHatBottom;

  public NotchHat(ModelBiped mb) {
    super(mb);
    NotchHatTop = new ModelRenderer(mb, 0, 0);
    NotchHatTop.addBox(-5F, -9F, -5F, 10, 1, 10);
    NotchHatBottom = new ModelRenderer(mb, 0, 11);
    NotchHatBottom.addBox(-4F, -13F, -4F, 8, 4, 8);
  }
View Full Code Here

public class Tail extends Accessory {
  public ModelRenderer Tail;

  public Tail(ModelBiped mb) {
    super(mb);
    Tail = new ModelRenderer(mb, 0, 0);
    Tail.addBox(0.0F, 0.0F, 0.0F, 1, 10, 1);
    Tail.setRotationPoint(-0.5F, 0F, -1F);
  }
View Full Code Here

public class Ears extends Accessory {
  public ModelRenderer bipedEars2;

  public Ears(ModelBiped mb) {
    super(mb);
    bipedEars2 = new ModelRenderer(mb, 0, 0);
    bipedEars2.addBox(-3F, -6F, -1F, 6, 6, 1);
  }
View Full Code Here

  public ModelRenderer bipedBackBracelet;
  public ModelRenderer bipedRightBracelet;

  public Bracelet(ModelBiped mb) {
    super(mb);
    bipedFrontBracelet = new ModelRenderer(mb, 0, 0);
    bipedFrontBracelet.addBox(4F, 9F, -3F, 4, 1, 1);
    bipedLeftBracelet = new ModelRenderer(mb, 10, 0);
    bipedLeftBracelet.addBox(3F, 9F, -3F, 1, 1, 6);
    bipedBackBracelet = new ModelRenderer(mb, 0, 2);
    bipedBackBracelet.addBox(4F, 9F, 2F, 4, 1, 1);
    bipedBackBracelet.setRotationPoint(0F, 0F, 0F);
    bipedRightBracelet = new ModelRenderer(mb, 0, 4);
    bipedRightBracelet.addBox(8F, 9F, -3F, 1, 1, 6);
    bipedRightBracelet.setRotationPoint(0F, 0F, 0F);
  }
View Full Code Here

  public ModelRenderer RightSunglassesBridge;
  public ModelRenderer LeftSunglassesBridge;

  public Sunglasses(ModelBiped acs) {
    super(acs);
    SunglassesFront = new ModelRenderer(acs, 0, 0);
    SunglassesFront.addBox(-3F, -4F, -5F, 2, 2, 1);
    SunglassesFront2 = new ModelRenderer(acs, 6, 0);
    SunglassesFront2.addBox(1F, -4F, -5F, 2, 2, 1);
    SunglassesBridge = new ModelRenderer(acs, 0, 4);
    SunglassesBridge.addBox(-1F, -4F, -5F, 2, 1, 1);
    RightSunglasses = new ModelRenderer(acs, 0, 6);
    RightSunglasses.addBox(4.0F, -4.0F, -4.0F, 1, 1, 4);
    LeftSunglasses = new ModelRenderer(acs, 12, 0);
    LeftSunglasses.addBox(-5.0F, -4.0F, -4.0F, 1, 1, 4);
    LeftSunglassesBridge = new ModelRenderer(acs, 6, 5);
    LeftSunglassesBridge.addBox(-5.0F, -4.0F, -5.0F, 2, 1, 1);
    RightSunglassesBridge = new ModelRenderer(acs, 6, 7);
    RightSunglassesBridge.addBox(3.0F, -4.0F, -5.0F, 2, 1, 1);
  }
View Full Code Here

  public ModelWerewolf() {
    super();
    textureWidth = 64;
    textureHeight = 32;
    bipedHead = new ModelRenderer(this, 0, 0);
    bipedHead.addBox(-3F, -3F, -2F, 6, 6, 4);
    bipedHead.setRotationPoint(-1F, 1F, -5F);
    bipedHead.setTextureSize(64, 32);
    bipedHead.mirror = true;
    setRotation(bipedHead, 0F, 0F, 0F);
    bipedHeadwear = new ModelRenderer(this, 0, 0);
    bipedHeadwear.addBox(0, 0, 0, 0, 0, 0);
    bipedHeadwear.setRotationPoint(0, -2, 0);
    bipedHeadwear.setTextureSize(64, 32);
    bipedHeadwear.mirror = true;
    setRotation(bipedHeadwear, 0F, 0F, 0F);
    bipedBody = new ModelRenderer(this, 27, 14);
    bipedBody.addBox(-4F, -2F, -3F, 6, 12, 6);
    bipedBody.setRotationPoint(0F, 4F, 2F);
    bipedBody.setTextureSize(64, 32);
    bipedBody.mirror = true;
    setRotation(bipedBody, 0.5235988F, 0F, 0F);
    wereMane = new ModelRenderer(this, 21, 0);
    wereMane.addBox(-4F, -3F, -3F, 8, 6, 7);
    wereMane.setRotationPoint(-1F, 2F, 0F);
    wereMane.setTextureSize(64, 32);
    wereMane.mirror = true;
    setRotation(wereMane, 1.570796F, 0F, 0F);
    bipedLeftLeg = new ModelRenderer(this, 0, 19);
    bipedLeftLeg.addBox(-1F, 0F, 2F, 3, 10, 3);
    bipedLeftLeg.setRotationPoint(-4F, 12F, 6F);
    bipedLeftLeg.setTextureSize(64, 32);
    bipedLeftLeg.mirror = true;
    setRotation(bipedLeftLeg, 0F, 0F, 0F);
    bipedRightLeg = new ModelRenderer(this, 0, 19);
    bipedRightLeg.addBox(-1F, 0F, 2F, 3, 10, 3);
    bipedRightLeg.setRotationPoint(1F, 12F, 6F);
    bipedRightLeg.setTextureSize(64, 32);
    bipedRightLeg.mirror = true;
    setRotation(bipedRightLeg, 0F, 0F, 0F);
    wereTail = new ModelRenderer(this, 13, 20);
    wereTail.addBox(-1F, 0F, -1F, 2, 8, 2);
    wereTail.setRotationPoint(-1F, 10F, 8F);
    wereTail.setTextureSize(64, 32);
    wereTail.mirror = true;
    setRotation(wereTail, 1.130069F, 0F, 0F);
    wereRightEar = new ModelRenderer(this, 19, 14);
    wereRightEar.addBox(-3F, -5F, 0F, 2, 2, 1);
    wereRightEar.setRotationPoint(-1F, 1F, -4F);
    wereRightEar.setTextureSize(64, 32);
    wereRightEar.mirror = true;
    setRotation(wereRightEar, 0F, 0F, 0F);
    wereLeftEar = new ModelRenderer(this, 19, 14);
    wereLeftEar.addBox(1F, -5F, 0F, 2, 2, 1);
    wereLeftEar.setRotationPoint(-1F, 1F, -4F);
    wereLeftEar.setTextureSize(64, 32);
    wereLeftEar.mirror = true;
    setRotation(wereLeftEar, 0F, 0F, 0F);
    wereSnout = new ModelRenderer(this, 0, 10);
    wereSnout.addBox(-2F, 0F, -5F, 3, 3, 5);
    wereSnout.setRotationPoint(-0.5F, 1F, -5F);
    wereSnout.setTextureSize(64, 32);
    wereSnout.mirror = true;
    setRotation(wereSnout, 0F, 0F, 0F);
    bipedLeftArm = new ModelRenderer(this, 0, 19);
    bipedLeftArm.addBox(-2F, 0F, -1F, 3, 10, 3);
    bipedLeftArm.setRotationPoint(3F, 1F, -1F);
    bipedLeftArm.setTextureSize(64, 32);
    bipedLeftArm.mirror = true;
    setRotation(bipedLeftArm, 0F, 0F, 0F);
    bipedRightArm = new ModelRenderer(this, 0, 19);
    bipedRightArm.addBox(-3F, 0F, -1F, 3, 10, 3);
    bipedRightArm.setRotationPoint(-6F, 1F, -1F);
    bipedRightArm.setTextureSize(64, 32);
    bipedRightArm.mirror = true;
    setRotation(bipedRightArm, 0F, 0F, 0F);
View Full Code Here

         setTextureOffset("body.scale", 220, 53);
         setTextureOffset("head.scale", 0, 0);
         setTextureOffset("neck.scale", 48, 0);
         setTextureOffset("head.nostril", 112, 0);
         float f1 = -16F;
         modelHead = new ModelRenderer(this, "head");
         modelHead.addBox("upperlip", -6F, -1F, -8F + f1, 12, 5, 16);
         modelHead.addBox("upperhead", -8F, -8F, 6F + f1, 16, 16, 16);
         modelHead.mirror = true;
         modelHead.addBox("scale", -5F, -12F, 12F + f1, 2, 4, 6);
         modelHead.addBox("nostril", -5F, -3F, -6F + f1, 2, 2, 4);
         modelHead.mirror = false;
         modelHead.addBox("scale", 3F, -12F, 12F + f1, 2, 4, 6);
         modelHead.addBox("nostril", 3F, -3F, -6F + f1, 2, 2, 4);
         modelJaw = new ModelRenderer(this, "jaw");
         modelJaw.setRotationPoint(0.0F, 4F, 8F + f1);
         modelJaw.addBox("jaw", -6F, 0.0F, -16F, 12, 4, 16);
         modelHead.addChild(modelJaw);
         modelNeck = new ModelRenderer(this, "neck");
         modelNeck.addBox("box", -5F, -5F, -5F, 10, 10, 10);
         modelNeck.addBox("scale", -1F, -9F, -3F, 2, 4, 6);
         modelBody = new ModelRenderer(this, "body");
         modelBody.setRotationPoint(0.0F, 4F, 8F);
         modelBody.addBox("body", -12F, 0.0F, -16F, 24, 24, 64);
         modelBody.addBox("scale", -1F, -6F, -10F, 2, 6, 12);
         modelBody.addBox("scale", -1F, -6F, 10F, 2, 6, 12);
         modelBody.addBox("scale", -1F, -6F, 30F, 2, 6, 12);
         modelWing = new ModelRenderer(this, "wing");
         modelWing.setRotationPoint(-12F, 5F, 2.0F);
         modelWing.addBox("bone", -56F, -4F, -4F, 56, 8, 8);
         modelWing.addBox("skin", -56F, 0.0F, 2.0F, 56, 0, 56);
         modelWingtip = new ModelRenderer(this, "wingtip");
         modelWingtip.setRotationPoint(-56F, 0.0F, 0.0F);
         modelWingtip.addBox("bone", -56F, -2F, -2F, 56, 4, 4);
         modelWingtip.addBox("skin", -56F, 0.0F, 2.0F, 56, 0, 56);
         modelWing.addChild(modelWingtip);
         modelFrontLeg = new ModelRenderer(this, "frontleg");
         modelFrontLeg.setRotationPoint(-12F, 20F, 2.0F);
         modelFrontLeg.addBox("main", -4F, -4F, -4F, 8, 24, 8);
         modelFrontLegtip = new ModelRenderer(this, "frontlegtip");
         modelFrontLegtip.setRotationPoint(0.0F, 20F, -1F);
         modelFrontLegtip.addBox("main", -3F, -1F, -3F, 6, 24, 6);
         modelFrontLeg.addChild(modelFrontLegtip);
         modelFrontFoot = new ModelRenderer(this, "frontfoot");
         modelFrontFoot.setRotationPoint(0.0F, 23F, 0.0F);
         modelFrontFoot.addBox("main", -4F, 0.0F, -12F, 8, 4, 16);
         modelFrontLegtip.addChild(modelFrontFoot);
         modelRearLeg = new ModelRenderer(this, "rearleg");
         modelRearLeg.setRotationPoint(-16F, 16F, 42F);
         modelRearLeg.addBox("main", -8F, -4F, -8F, 16, 32, 16);
         modelRearLegtip = new ModelRenderer(this, "rearlegtip");
         modelRearLegtip.setRotationPoint(0.0F, 32F, -4F);
         modelRearLegtip.addBox("main", -6F, -2F, 0.0F, 12, 32, 12);
         modelRearLeg.addChild(modelRearLegtip);
         modelRearFoot = new ModelRenderer(this, "rearfoot");
         modelRearFoot.setRotationPoint(0.0F, 31F, 4F);
         modelRearFoot.addBox("main", -9F, 0.0F, -20F, 18, 6, 24);
         modelRearLegtip.addChild(modelRearFoot);
      }
View Full Code Here

TOP

Related Classes of net.minecraft.src.ModelRenderer

Copyright © 2018 www.massapicom. 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.