Examples of ModelRenderer


Examples of net.minecraft.client.model.ModelRenderer

  public ModelLevelEmitterFluid()
  {
    textureWidth = 64;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 6, 6, 6);
    Shape1.setRotationPoint(-3F, 13F, -3F);
    Shape1.setTextureSize(64, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 32, 0);
    Shape2.addBox(0F, 0F, 0F, 2, 6, 2);
    Shape2.setRotationPoint(-1F, 17.25F, -1F);
    Shape2.setTextureSize(64, 32);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public ModelBusFluidStorage()
  {
    textureWidth = 64;
    textureHeight = 64;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 15, 4, 15);
    Shape1.setRotationPoint(-7.5F, 20F, -7.5F);
    Shape1.setTextureSize(64, 64);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 19);
    Shape2.addBox(0F, 0F, 0F, 6, 2, 6);
    Shape2.setRotationPoint(-3F, 18F, -3F);
    Shape2.setTextureSize(64, 64);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 27);
    Shape3.addBox(0F, 0F, 0F, 12, 1, 12);
    Shape3.setRotationPoint(-6F, 19F, -6F);
    Shape3.setTextureSize(64, 64);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 0, 40);
    Shape4.addBox(0F, 0F, 0F, 1, 3, 15);
    Shape4.setRotationPoint(6.8F, 20.2F, -7.5F);
    Shape4.setTextureSize(64, 64);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
    Shape5 = new ModelRenderer(this, 0, 40);
    Shape5.addBox(0F, 0F, 0F, 15, 3, 1);
    Shape5.setRotationPoint(-7.5F, 20.2F, 6.8F);
    Shape5.setTextureSize(64, 64);
    Shape5.mirror = true;
    setRotation(Shape5, 0F, 0F, 0F);
    Shape7 = new ModelRenderer(this, 0, 40);
    Shape7.addBox(0F, 0F, 0F, 15, 3, 1);
    Shape7.setRotationPoint(-7.5F, 20.2F, -7.8F);
    Shape7.setTextureSize(64, 64);
    Shape7.mirror = true;
    setRotation(Shape7, 0F, 0F, 0F);
    Shape6 = new ModelRenderer(this, 0, 40);
    Shape6.addBox(0F, 0F, 0F, 1, 3, 15);
    Shape6.setRotationPoint(-7.8F, 20.2F, -7.5F);
    Shape6.setTextureSize(64, 64);
    Shape6.mirror = true;
    setRotation(Shape6, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public ModelSolderingStation()
  {
    textureWidth = 64;
    textureHeight = 64;

    Stand1 = new ModelRenderer(this, 0, 20);
    Stand1.addBox(0F, 0F, 0F, 1, 15, 1);
    Stand1.setRotationPoint(6.9F, 9F, 6.9F);
    Stand1.setTextureSize(64, 64);
    Stand1.mirror = true;
    setRotation(Stand1, 0F, 0F, 0F);
    Stand2 = new ModelRenderer(this, 4, 20);
    Stand2.addBox(0F, 0F, 0F, 1, 15, 1);
    Stand2.setRotationPoint(-7.933333F, 9F, -7.9F);
    Stand2.setTextureSize(64, 64);
    Stand2.mirror = true;
    setRotation(Stand2, 0F, 0F, 0F);
    Stand3 = new ModelRenderer(this, 8, 20);
    Stand3.addBox(0F, 0F, 0F, 1, 15, 1);
    Stand3.setRotationPoint(-7.9F, 9F, 6.9F);
    Stand3.setTextureSize(64, 64);
    Stand3.mirror = true;
    setRotation(Stand3, 0F, 0F, 0F);
    Stand4 = new ModelRenderer(this, 12, 20);
    Stand4.addBox(0F, 0F, 0F, 1, 15, 1);
    Stand4.setRotationPoint(6.9F, 9F, -7.9F);
    Stand4.setTextureSize(64, 64);
    Stand4.mirror = true;
    setRotation(Stand4, 0F, 0F, 0F);
    Surface = new ModelRenderer(this, 0, 0);
    Surface.addBox(0F, 0F, 0F, 16, 4, 16);
    Surface.setRotationPoint(-8F, 8F, -8F);
    Surface.setTextureSize(64, 64);
    Surface.mirror = true;
    setRotation(Surface, 0F, 0F, 0F);
    SolderingStand = new ModelRenderer(this, 16, 20);
    SolderingStand.addBox(0F, 0F, 0F, 6, 1, 4);
    SolderingStand.setRotationPoint(1F, 7.5F, -7F);
    SolderingStand.setTextureSize(64, 64);
    SolderingStand.mirror = true;
    setRotation(SolderingStand, 0F, 0F, 0F);
    SolderingHolder = new ModelRenderer(this, 36, 20);
    SolderingHolder.addBox(0F, 0F, 0F, 1, 3, 1);
    SolderingHolder.setRotationPoint(4F, 6.1F, -6F);
    SolderingHolder.setTextureSize(64, 64);
    SolderingHolder.mirror = true;
    setRotation(SolderingHolder, 0F, 0F, -0.7853982F);
    Base = new ModelRenderer(this, 40, 22);
    Base.addBox(0F, 0F, 0F, 6, 2, 2);
    Base.setRotationPoint(0F, 2.5F, -6.5F);
    Base.setTextureSize(64, 64);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0.1745329F);
    Solder = new ModelRenderer(this, 40, 20);
    Solder.addBox(0F, 0F, 0F, 2, 1, 1);
    Solder.setRotationPoint(5.8F, 4F, -6F);
    Solder.setTextureSize(64, 64);
    Solder.mirror = true;
    setRotation(Solder, 0F, 0F, 0.5205006F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public ModelBusFluidImport()
  {
    textureWidth = 64;
    textureHeight = 64;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 10, 2, 10);
    Shape1.setRotationPoint(-5F, 22F, -5F);
    Shape1.setTextureSize(64, 64);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 12);
    Shape2.addBox(0F, 0F, 0F, 9, 2, 9);
    Shape2.setRotationPoint(-4.5F, 20.5F, -4.5F);
    Shape2.setTextureSize(64, 64);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 23);
    Shape3.addBox(0F, 0F, 0F, 8, 2, 8);
    Shape3.setRotationPoint(-4F, 19.2F, -4F);
    Shape3.setTextureSize(64, 64);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 0, 33);
    Shape4.addBox(0F, 0F, 0F, 6, 2, 6);
    Shape4.setRotationPoint(-3F, 18F, -3F);
    Shape4.setTextureSize(64, 64);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public ModelCable()
  {
    textureWidth = 64;
    textureHeight = 32;

    CableExtend = new ModelRenderer(this, 0, 4);
    CableExtend.addBox(0F, 0F, 0F, 4, 6, 4);
    CableExtend.setRotationPoint(-2F, 18F, -2F);
    CableExtend.setTextureSize(64, 32);
    CableExtend.mirror = true;
    setRotation(CableExtend, 0F, 0F, 0F);
    CableBase = new ModelRenderer(this, 0, 0);
    CableBase.addBox(0F, 0F, 0F, 4, 4, 4);
    CableBase.setRotationPoint(-2F, 14F, -2F);
    CableBase.setTextureSize(64, 32);
    CableBase.mirror = true;
    setRotation(CableBase, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public ModelBusFluidExport()
  {
    textureWidth = 64;
    textureHeight = 64;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 10, 2, 10);
    Shape1.setRotationPoint(-5F, 18F, -5F);
    Shape1.setTextureSize(64, 64);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 12);
    Shape2.addBox(0F, 0F, 0F, 9, 2, 9);
    Shape2.setRotationPoint(-4.5F, 19.4F, -4.5F);
    Shape2.setTextureSize(64, 64);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 23);
    Shape3.addBox(0F, 0F, 0F, 8, 2, 8);
    Shape3.setRotationPoint(-4F, 20.7F, -4F);
    Shape3.setTextureSize(64, 64);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 0, 33);
    Shape4.addBox(0F, 0F, 0F, 6, 2, 6);
    Shape4.setRotationPoint(-3F, 22F, -3F);
    Shape4.setTextureSize(64, 64);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public TransceiverModelAlt() {
    textureWidth = 32;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 7);
    Shape1.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape1.setRotationPoint(-3F, 24F, -8F);
    Shape1.setTextureSize(32, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 1.570796F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 0);
    Shape2.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape2.setRotationPoint(7F, 23F, 3F);
    Shape2.setTextureSize(32, 32);
    Shape2.mirror = true;
    setRotation(Shape2, 1.570796F, 1.570796F, 0F);
    Shape3 = new ModelRenderer(this, 0, 0);
    Shape3.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape3.setRotationPoint(-3F, 23F, 7F);
    Shape3.setTextureSize(32, 32);
    Shape3.mirror = true;
    setRotation(Shape3, 1.570796F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 0, 7);
    Shape4.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape4.setRotationPoint(-8F, 24F, 3F);
    Shape4.setTextureSize(32, 32);
    Shape4.mirror = true;
    setRotation(Shape4, 1.570796F, 1.570796F, 0F);
    Shape5 = new ModelRenderer(this, 0, 0);
    Shape5.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape5.setRotationPoint(-3F, 14F, -8F);
    Shape5.setTextureSize(32, 32);
    Shape5.mirror = true;
    setRotation(Shape5, 1.570796F, 0F, 0F);
    Shape6 = new ModelRenderer(this, 0, 7);
    Shape6.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape6.setRotationPoint(-7F, 13F, 8F);
    Shape6.setTextureSize(32, 32);
    Shape6.mirror = true;
    //setRotation(Shape6, 1.570796F, 1.570796F, 1.570796F);
    setRotation(Shape6, 0F, 1.570796F, 1.570796F);
    Shape7 = new ModelRenderer(this, 0, 7);
    Shape7.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape7.setRotationPoint(-8F, 13F, -8F);
    Shape7.setTextureSize(32, 32);
    Shape7.mirror = true;
    setRotation(Shape7, 1.570796F, 0F, 1.570796F);
    Shape8 = new ModelRenderer(this, 0, 0);
    Shape8.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape8.setRotationPoint(-8F, 14F, 3F);
    Shape8.setTextureSize(32, 32);
    Shape8.mirror = true;
    setRotation(Shape8, 1.570796F, 1.570796F, 0F);
    Shape9 = new ModelRenderer(this, 0, 7);
    Shape9.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape9.setRotationPoint(-3F, 23F, 2F);
    Shape9.setTextureSize(32, 32);
    Shape9.mirror = true;
    setRotation(Shape9, 0F, 0F, 0F);
    Shape10 = new ModelRenderer(this, 0, 7);
    Shape10.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape10.setRotationPoint(2F, 23F, 3F);
    Shape10.setTextureSize(32, 32);
    Shape10.mirror = true;
    setRotation(Shape10, 0F, 1.570796F, 0F);
    Shape11 = new ModelRenderer(this, 0, 7);
    Shape11.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape11.setRotationPoint(-3F, 23F, -8F);
    Shape11.setTextureSize(32, 32);
    Shape11.mirror = true;
    setRotation(Shape11, 0F, 0F, 0F);
    Shape12 = new ModelRenderer(this, 0, 7);
    Shape12.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape12.setRotationPoint(-8F, 23F, 3F);
    Shape12.setTextureSize(32, 32);
    Shape12.mirror = true;
    setRotation(Shape12, 0F, 1.570796F, 0F);
    Shape13 = new ModelRenderer(this, 0, 7);
    Shape13.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape13.setRotationPoint(-8F, 8F, 3F);
    Shape13.setTextureSize(32, 32);
    Shape13.mirror = true;
    setRotation(Shape13, 0F, 1.570796F, 0F);
    Shape14 = new ModelRenderer(this, 0, 7);
    Shape14.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape14.setRotationPoint(-3F, 8F, 2F);
    Shape14.setTextureSize(32, 32);
    Shape14.mirror = true;
    setRotation(Shape14, 0F, 0F, 0F);
    Shape15 = new ModelRenderer(this, 0, 7);
    Shape15.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape15.setRotationPoint(-3F, 8F, -8F);
    Shape15.setTextureSize(32, 32);
    Shape15.mirror = true;
    setRotation(Shape15, 0F, 0F, 0F);
    Shape16 = new ModelRenderer(this, 0, 7);
    Shape16.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape16.setRotationPoint(2F, 8F, 3F);
    Shape16.setTextureSize(32, 32);
    Shape16.mirror = true;
    setRotation(Shape16, 0F, 1.570796F, 0F);
    Shape17 = new ModelRenderer(this, 0, 7);
    Shape17.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape17.setRotationPoint(7F, 14F, 3F);
    Shape17.setTextureSize(32, 32);
    Shape17.mirror = true;
    setRotation(Shape17, 1.570796F, 1.570796F, 0F);
    Shape18 = new ModelRenderer(this, 0, 7);
    Shape18.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape18.setRotationPoint(-7F, 13F, -2F);
    Shape18.setTextureSize(32, 32);
    Shape18.mirror = true;
    setRotation(Shape18, 0F, 1.570796F, 1.570796F);
    Shape19 = new ModelRenderer(this, 0, 7);
    Shape19.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape19.setRotationPoint(8F, 13F, -2F);
    Shape19.setTextureSize(32, 32);
    Shape19.mirror = true;
    setRotation(Shape19, 0F, 1.570796F, 1.570796F);
    Shape20 = new ModelRenderer(this, 0, 7);
    Shape20.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape20.setRotationPoint(8F, 13F, 8F);
    Shape20.setTextureSize(32, 32);
    Shape20.mirror = true;
    setRotation(Shape20, 0F, 1.570796F, 1.570796F);
    Shape21 = new ModelRenderer(this, 0, 7);
    Shape21.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape21.setRotationPoint(-3F, 14F, 7F);
    Shape21.setTextureSize(32, 32);
    Shape21.mirror = true;
    setRotation(Shape21, 1.570796F, 0F, 0F);
    Shape22 = new ModelRenderer(this, 0, 7);
    Shape22.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape22.setRotationPoint(2F, 13F, -8F);
    Shape22.setTextureSize(32, 32);
    Shape22.mirror = true;
    setRotation(Shape22, 1.570796F, 0F, 1.570796F);
    Shape23 = new ModelRenderer(this, 0, 0);
    Shape23.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape23.setRotationPoint(-8F, 13F, 7F);
    Shape23.setTextureSize(32, 32);
    Shape23.mirror = true;
    setRotation(Shape23, 1.570796F, 0F, 1.570796F);
    Shape24 = new ModelRenderer(this, 0, 7);
    Shape24.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape24.setRotationPoint(2F, 13F, 7F);
    Shape24.setTextureSize(32, 32);
    Shape24.mirror = true;
    setRotation(Shape24, 1.570796F, 0F, 1.570796F);
    Shape25 = new ModelRenderer(this, 0, 15);
    Shape25.addBox(0F, 0F, 0F, 8, 8, 8);
    Shape25.setRotationPoint(-4F, 12F, -4F);
    Shape25.setTextureSize(32, 32);
    Shape25.mirror = true;
    setRotation(Shape25, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public ModelZombieJar() {
    this(0.0f);
  }

  public ModelZombieJar(float par1) {
    Head = new ModelRenderer(this, 0, 0);
    Head.setTextureSize(64, 64);
    Head.addBox(-4F, -4F, -4F, 8, 8, 8);
    Head.setRotationPoint(0F, -8F, 1F);
    electrode1 = new ModelRenderer(this, 31, 40);
    electrode1.setTextureSize(64, 64);
    electrode1.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode1.setRotationPoint(-2.872653F, -11.50361F, -2.60217F);
    electrode2 = new ModelRenderer(this, 31, 40);
    electrode2.setTextureSize(64, 64);
    electrode2.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode2.setRotationPoint(-0.2268921F, -9.821873F, -3.016515F);
    electrode3 = new ModelRenderer(this, 31, 40);
    electrode3.setTextureSize(64, 64);
    electrode3.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode3.setRotationPoint(2.875378F, -10.08223F, -3.571606F);
    electrode4 = new ModelRenderer(this, 31, 40);
    electrode4.setTextureSize(64, 64);
    electrode4.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode4.setRotationPoint(3.996085F, -9.873959F, -2.810457F);
    electrode5 = new ModelRenderer(this, 31, 40);
    electrode5.setTextureSize(64, 64);
    electrode5.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode5.setRotationPoint(4.288532F, -8.994526F, 0.2129618F);
    electrode6 = new ModelRenderer(this, 31, 40);
    electrode6.setTextureSize(64, 64);
    electrode6.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode6.setRotationPoint(5.037488F, -10.05719F, 3.095634F);
    electrode7 = new ModelRenderer(this, 31, 40);
    electrode7.setTextureSize(64, 64);
    electrode7.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode7.setRotationPoint(-1.494982F, -11.74601F, 5.210991F);
    electrode8 = new ModelRenderer(this, 31, 40);
    electrode8.setTextureSize(64, 64);
    electrode8.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode8.setRotationPoint(1.150779F, -10.06427F, 4.796647F);
    electrode9 = new ModelRenderer(this, 31, 40);
    electrode9.setTextureSize(64, 64);
    electrode9.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode9.setRotationPoint(4.253049F, -10.32463F, 4.241555F);
    electrode10 = new ModelRenderer(this, 31, 40);
    electrode10.setTextureSize(64, 64);
    electrode10.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode10.setRotationPoint(-3.667958F, -11.76913F, -1.517876F);
    electrode11 = new ModelRenderer(this, 31, 40);
    electrode11.setTextureSize(64, 64);
    electrode11.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode11.setRotationPoint(-3.37551F, -10.8897F, 1.505543F);
    electrode12 = new ModelRenderer(this, 31, 40);
    electrode12.setTextureSize(64, 64);
    electrode12.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1);
    electrode12.setRotationPoint(-2.626554F, -11.95237F, 4.388215F);
    glass1 = new ModelRenderer(this, 36, 2);
    glass1.setTextureSize(64, 64);
    glass1.addBox(-6F, -7F, 0F, 12, 14, 0);
    glass1.setRotationPoint(0F, -8F, -5F);
    glass2 = new ModelRenderer(this, 36, 2);
    glass2.setTextureSize(64, 64);
    glass2.addBox(-6F, -7F, 0F, 12, 14, 0);
    glass2.setRotationPoint(-6F, -8F, 1F);
    glass3 = new ModelRenderer(this, 36, 2);
    glass3.setTextureSize(64, 64);
    glass3.addBox(-6F, -7F, 0F, 12, 14, 0);
    glass3.setRotationPoint(0F, -8F, 7F);
    glass4 = new ModelRenderer(this, 36, 2);
    glass4.setTextureSize(64, 64);
    glass4.addBox(-6F, -7F, 0F, 12, 14, 0);
    glass4.setRotationPoint(6F, -8F, 1F);
    top = new ModelRenderer(this, 1, 17);
    top.setTextureSize(64, 64);
    top.addBox(-6F, -0.5F, -6F, 12, 1, 12);
    top.setRotationPoint(0F, -15.5F, 1F);
    Lid1 = new ModelRenderer(this, 4, 33);
    Lid1.setTextureSize(64, 64);
    Lid1.addBox(-4.5F, -1F, -4.5F, 9, 2, 9);
    Lid1.setRotationPoint(0F, -17F, 1F);
    bottom = new ModelRenderer(this, 1, 17);
    bottom.setTextureSize(64, 64);
    bottom.addBox(-6F, -0.5F, -6F, 12, 1, 12);
    bottom.setRotationPoint(0F, -0.5F, 1F);
    Lid2 = new ModelRenderer(this, 12, 41);
    Lid2.setTextureSize(64, 64);
    Lid2.addBox(-4F, -1F, -0.5F, 8, 2, 1);
    Lid2.setRotationPoint(0F, -17F, -4F);
    Lid3 = new ModelRenderer(this, 12, 41);
    Lid3.setTextureSize(64, 64);
    Lid3.addBox(-4F, -1F, -0.5F, 8, 2, 1);
    Lid3.setRotationPoint(0F, -17F, 6F);
    Lid4 = new ModelRenderer(this, 5, 34);
    Lid4.setTextureSize(64, 64);
    Lid4.addBox(-0.5F, -1F, -4F, 1, 2, 8);
    Lid4.setRotationPoint(5F, -17F, 1F);
    Lid5 = new ModelRenderer(this, 5, 34);
    Lid5.setTextureSize(64, 64);
    Lid5.addBox(-0.5F, -1F, -4F, 1, 2, 8);
    Lid5.setRotationPoint(-5F, -17F, 1F);
  }
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public HyperCubeModel2() {
    textureWidth = 32;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 7);
    Shape1.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape1.setRotationPoint(-3F, 24F, -8F);
    Shape1.setTextureSize(32, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 1.570796F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 0);
    Shape2.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape2.setRotationPoint(7F, 23F, 3F);
    Shape2.setTextureSize(32, 32);
    Shape2.mirror = true;
    setRotation(Shape2, 1.570796F, 1.570796F, 0F);
    Shape3 = new ModelRenderer(this, 0, 0);
    Shape3.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape3.setRotationPoint(-3F, 23F, 7F);
    Shape3.setTextureSize(32, 32);
    Shape3.mirror = true;
    setRotation(Shape3, 1.570796F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 0, 7);
    Shape4.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape4.setRotationPoint(-8F, 24F, 3F);
    Shape4.setTextureSize(32, 32);
    Shape4.mirror = true;
    setRotation(Shape4, 1.570796F, 1.570796F, 0F);
    Shape5 = new ModelRenderer(this, 0, 0);
    Shape5.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape5.setRotationPoint(-3F, 14F, -8F);
    Shape5.setTextureSize(32, 32);
    Shape5.mirror = true;
    setRotation(Shape5, 1.570796F, 0F, 0F);
    Shape6 = new ModelRenderer(this, 0, 7);
    Shape6.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape6.setRotationPoint(-7F, 13F, 8F);
    Shape6.setTextureSize(32, 32);
    Shape6.mirror = true;
    //setRotation(Shape6, 1.570796F, 1.570796F, 1.570796F);
    setRotation(Shape6, 0F, 1.570796F, 1.570796F);
    Shape7 = new ModelRenderer(this, 0, 7);
    Shape7.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape7.setRotationPoint(-8F, 13F, -8F);
    Shape7.setTextureSize(32, 32);
    Shape7.mirror = true;
    setRotation(Shape7, 1.570796F, 0F, 1.570796F);
    Shape8 = new ModelRenderer(this, 0, 0);
    Shape8.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape8.setRotationPoint(-8F, 14F, 3F);
    Shape8.setTextureSize(32, 32);
    Shape8.mirror = true;
    setRotation(Shape8, 1.570796F, 1.570796F, 0F);
    Shape9 = new ModelRenderer(this, 0, 7);
    Shape9.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape9.setRotationPoint(-3F, 23F, 2F);
    Shape9.setTextureSize(32, 32);
    Shape9.mirror = true;
    setRotation(Shape9, 0F, 0F, 0F);
    Shape10 = new ModelRenderer(this, 0, 7);
    Shape10.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape10.setRotationPoint(2F, 23F, 3F);
    Shape10.setTextureSize(32, 32);
    Shape10.mirror = true;
    setRotation(Shape10, 0F, 1.570796F, 0F);
    Shape11 = new ModelRenderer(this, 0, 7);
    Shape11.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape11.setRotationPoint(-3F, 23F, -8F);
    Shape11.setTextureSize(32, 32);
    Shape11.mirror = true;
    setRotation(Shape11, 0F, 0F, 0F);
    Shape12 = new ModelRenderer(this, 0, 7);
    Shape12.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape12.setRotationPoint(-8F, 23F, 3F);
    Shape12.setTextureSize(32, 32);
    Shape12.mirror = true;
    setRotation(Shape12, 0F, 1.570796F, 0F);
    Shape13 = new ModelRenderer(this, 0, 7);
    Shape13.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape13.setRotationPoint(-8F, 8F, 3F);
    Shape13.setTextureSize(32, 32);
    Shape13.mirror = true;
    setRotation(Shape13, 0F, 1.570796F, 0F);
    Shape14 = new ModelRenderer(this, 0, 7);
    Shape14.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape14.setRotationPoint(-3F, 8F, 2F);
    Shape14.setTextureSize(32, 32);
    Shape14.mirror = true;
    setRotation(Shape14, 0F, 0F, 0F);
    Shape15 = new ModelRenderer(this, 0, 7);
    Shape15.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape15.setRotationPoint(-3F, 8F, -8F);
    Shape15.setTextureSize(32, 32);
    Shape15.mirror = true;
    setRotation(Shape15, 0F, 0F, 0F);
    Shape16 = new ModelRenderer(this, 0, 7);
    Shape16.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape16.setRotationPoint(2F, 8F, 3F);
    Shape16.setTextureSize(32, 32);
    Shape16.mirror = true;
    setRotation(Shape16, 0F, 1.570796F, 0F);
    Shape17 = new ModelRenderer(this, 0, 7);
    Shape17.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape17.setRotationPoint(7F, 14F, 3F);
    Shape17.setTextureSize(32, 32);
    Shape17.mirror = true;
    setRotation(Shape17, 1.570796F, 1.570796F, 0F);
    Shape18 = new ModelRenderer(this, 0, 7);
    Shape18.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape18.setRotationPoint(-7F, 13F, -2F);
    Shape18.setTextureSize(32, 32);
    Shape18.mirror = true;
    setRotation(Shape18, 0F, 1.570796F, 1.570796F);
    Shape19 = new ModelRenderer(this, 0, 7);
    Shape19.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape19.setRotationPoint(8F, 13F, -2F);
    Shape19.setTextureSize(32, 32);
    Shape19.mirror = true;
    setRotation(Shape19, 0F, 1.570796F, 1.570796F);
    Shape20 = new ModelRenderer(this, 0, 7);
    Shape20.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape20.setRotationPoint(8F, 13F, 8F);
    Shape20.setTextureSize(32, 32);
    Shape20.mirror = true;
    setRotation(Shape20, 0F, 1.570796F, 1.570796F);
    Shape21 = new ModelRenderer(this, 0, 7);
    Shape21.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape21.setRotationPoint(-3F, 14F, 7F);
    Shape21.setTextureSize(32, 32);
    Shape21.mirror = true;
    setRotation(Shape21, 1.570796F, 0F, 0F);
    Shape22 = new ModelRenderer(this, 0, 7);
    Shape22.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape22.setRotationPoint(2F, 13F, -8F);
    Shape22.setTextureSize(32, 32);
    Shape22.mirror = true;
    setRotation(Shape22, 1.570796F, 0F, 1.570796F);
    Shape23 = new ModelRenderer(this, 0, 0);
    Shape23.addBox(0F, 0F, 0F, 6, 1, 5);
    Shape23.setRotationPoint(-8F, 13F, 7F);
    Shape23.setTextureSize(32, 32);
    Shape23.mirror = true;
    setRotation(Shape23, 1.570796F, 0F, 1.570796F);
    Shape24 = new ModelRenderer(this, 0, 7);
    Shape24.addBox(0F, 0F, 0F, 6, 1, 6);
    Shape24.setRotationPoint(2F, 13F, 7F);
    Shape24.setTextureSize(32, 32);
    Shape24.mirror = true;
    setRotation(Shape24, 1.570796F, 0F, 1.570796F);
    Shape25 = new ModelRenderer(this, 0, 15);
    Shape25.addBox(0F, 0F, 0F, 8, 8, 8);
    Shape25.setRotationPoint(-4F, 12F, -4F);
    Shape25.setTextureSize(32, 32);
    Shape25.mirror = true;
    setRotation(Shape25, 0F, 0F, 0F);
View Full Code Here

Examples of net.minecraft.client.model.ModelRenderer

  public EnchanterModel() {
   
    textureWidth = 64;
    textureHeight = 64;
   
      stand = new ModelRenderer(this, 0, 14);
      stand.addBox(0F, 0F, 0F, 3, 11, 3);
      stand.setRotationPoint(-1.5F, 12F, -1.5F);
      stand.setTextureSize(64, 64);
      stand.mirror = true;
      setRotation(stand, 0F, 0F, 0F);
      ring = new ModelRenderer(this, 12, 14);
      ring.addBox(0F, 0F, 0F, 4, 2, 4);
      ring.setRotationPoint(-2F, 17F, -2F);
      ring.setTextureSize(64, 64);
      ring.mirror = true;
      setRotation(ring, 0F, 0F, 0F);
      base = new ModelRenderer(this, 0, 0);
      base.addBox(0F, 0F, 0F, 13, 1, 13);
      base.setRotationPoint(-6.5F, 23F, -6.5F);
      base.setTextureSize(64, 64);
      base.mirror = true;
      setRotation(base, 0F, 0F, 0F);
      tableTop = new ModelRenderer(this, 0, 0);
      tableTop.addBox(-6.5F, 0F, -6.5F, 13, 1, 13);
      tableTop.setRotationPoint(0F, 11.5F, 0F);
      tableTop.setTextureSize(64, 64);
      tableTop.mirror = true;
      setRotation(tableTop, 0.2268928F, 0F, 0F);
      coverRight = new ModelRenderer(this, 0, 32);
      coverRight.addBox(-0.1F, 0F, -4F, 5, 1, 8);
      coverRight.setRotationPoint(1F, 11F, 0F);
      coverRight.setTextureSize(64, 64);
      coverRight.mirror = true;
      setRotation(coverRight, 0.2268928F, 0F, -0.0523599F);
      coverMiddle = new ModelRenderer(this, 26, 32);
      coverMiddle.addBox(-1F, 0F, -4F, 2, 1, 8);
      coverMiddle.setRotationPoint(0F, 11F, 0F);
      coverMiddle.setTextureSize(64, 64);
      coverMiddle.mirror = true;
      setRotation(coverMiddle, 0.2268928F, 0F, 0F);
      coverLeft = new ModelRenderer(this, 0, 32);
      coverLeft.addBox(-5F, 0F, -4F, 5, 1, 8);
      coverLeft.setRotationPoint(-0.9F, 11F, 0F);
      coverLeft.setTextureSize(64, 64);
      coverLeft.mirror = true;
      setRotation(coverLeft, 0.2268928F, 0F, 0.0523599F);
      pageLeft = new ModelRenderer(this, 0, 41);
      pageLeft.addBox(-5F, -1F, -3.5F, 5, 1, 7);
      pageLeft.setRotationPoint(0F, 11F, 0F);
      pageLeft.setTextureSize(64, 64);
      pageLeft.mirror = true;
      setRotation(pageLeft, 0.2268928F, 0F, 0.0523599F);
      //sheetRight = new ModelRenderer(this, 24, 49);
      sheetRight = new ModelRenderer(this, 0, 41);
      sheetRight.addBox(-0.1F, -0.8F, -3.5F, 5, 0, 7);     
      sheetRight.setRotationPoint(0F, 11F, 0F);
      sheetRight.setTextureSize(64, 64);
      sheetRight.mirror = true;
      setRotation(sheetRight, 0.2268928F, 0.0349066F, -0.0349066F);
      pageRight = new ModelRenderer(this, 24, 41);
      pageRight.addBox(-0.1F, -1F, -3.5F, 5, 1, 7);
      pageRight.setRotationPoint(0F, 11F, 0F);
      pageRight.setTextureSize(64, 64);
      pageRight.mirror = true;
      setRotation(pageRight, 0.2268928F, 0F, -0.0523599F);
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.