Package net.minecraft.client.model

Examples of net.minecraft.client.model.ModelRenderer


  public RedNetLogicModel()
  {
    textureWidth = 68;
    textureHeight = 45;
   
    Top = new ModelRenderer(this, 0, 0);
    Top.mirror = true;
    Top.addBox(-8F, 0, -8F, 16, 1, 16);
    Top.setRotationPoint(0F, -7, 0F);
    Top.setTextureSize(68, 45);
    setRotation(Top, 0, 0F,(float)Math.PI);
    Bottom = new ModelRenderer(this, 0, 0);
    Bottom.addBox(-8F, 7F, -8F, 16, 1, 16);
    Bottom.setRotationPoint(0F, 0F, 0F);
    Bottom.setTextureSize(68, 45);
    setRotation(Bottom, 0F, 0F, 0F);
    North = new ModelRenderer(this, 30, 17);
    North.mirror = true;
    North.addBox(-8F, -7F, -8F, 16, 14, 1);
    North.setRotationPoint(0F, 0F, 0F);
    North.setTextureSize(68, 45);
    setRotation(North, 0F, 0F, 0F);
    South = new ModelRenderer(this, 30, 17);
    South.addBox(-8F, -7F, 0F, 16, 14, 1);
    South.setRotationPoint(0F, 0F, 8F);
    South.setTextureSize(68, 45);
    setRotation(South, 0F, (float)Math.PI, 0F);
    West = new ModelRenderer(this, 0, 17);
    West.addBox(-8F, -7F, -7F, 1, 14, 14);
    West.setRotationPoint(0F, 0F, 0F);
    West.setTextureSize(68, 45);
    setRotation(West, 0F, 0F, 0F);
    Mandatory1 = new ModelRenderer(this, 30, 32);
    Mandatory1.addBox(-7F, -6F, 5F, 14, 5, 1);
    Mandatory1.setRotationPoint(0F, 0F, 0F);
    Mandatory1.setTextureSize(68, 45);
    setRotation(Mandatory1, 0F, 0F, 0F);
    Mandatory2 = new ModelRenderer(this, 30, 32);
    Mandatory2.addBox(-7F, 0F, 5F, 14, 5, 1);
    Mandatory2.setRotationPoint(0F, 0F, 0F);
    Mandatory2.setTextureSize(68, 45);
    setRotation(Mandatory2, 0F, 0F, 0F);
    Mandatory3 = new ModelRenderer(this, 30, 38);
    Mandatory3.addBox(-7F, 5.5F, -6F, 14, 1, 5);
    Mandatory3.setRotationPoint(0F, 0F, 0F);
    Mandatory3.setTextureSize(68, 45);
    setRotation(Mandatory3, 0F, 0F, 0F);
    Mandatory4 = new ModelRenderer(this, 30, 38);
    Mandatory4.addBox(-7F, 5.5F, 0F, 14, 1, 5);
    Mandatory4.setRotationPoint(0F, 0F, 0F);
    Mandatory4.setTextureSize(68, 45);
    setRotation(Mandatory4, 0F, 0F, 0F);
  }
View Full Code Here


  public RedNetHistorianModel()
  {
    textureWidth = 64;
    textureHeight = 32;
   
    _main = new ModelRenderer(this, 0, 0);
    _main.addBox(0F, 0F, 0F, 16, 16, 4);
    _main.setRotationPoint(0F, 0F, 0F);
    _main.setTextureSize(64, 32);
    _main.mirror = true;
    setRotation(_main, 0F, 0F, 0F);
View Full Code Here

  public RedstoneCableModel()
  {
    textureWidth = 64;
    textureHeight = 32;
   
    _base = new ModelRenderer(this, 32, 0);
    _base.addBox(-2F, -2F, -2F, 4, 4, 4);
    _base.setRotationPoint(0F, 0F, 0F);
    _base.setTextureSize(64, 32);
    _base.mirror = true;
    setRotation(_base, 0F, 0F, 0F);
    _cableConn = new ModelRenderer(this, 32, 8);
    _cableConn.addBox(2F, -2F, -2F, 6, 4, 4);
    _cableConn.setRotationPoint(0F, 0F, 0F);
    _cableConn.setTextureSize(64, 32);
    _cableConn.mirror = true;
    setRotation(_cableConn, 0F, 0F, 0F);
    _plate = new ModelRenderer(this, 0, 0);
    _plate.addBox(6, -7, -7, 2, 14, 14);
    _plate.setRotationPoint(0,0,0);
    _plate.setTextureSize(64, 32);
    _plate.mirror = true;
    setRotation(_plate, 0F, 0F, 0F);
    _interfaceConn = new ModelRenderer(this, 48, 0);
    _interfaceConn.addBox(2, -2, -2, 4, 4, 4);
    _interfaceConn.setRotationPoint(0,0,0);
    _interfaceConn.setTextureSize(64, 32);
    _interfaceConn.mirror = true;
    setRotation(_interfaceConn, 0F, 0F, 0F);
    _bandWhite = new ModelRenderer(this, 32, 16);
    _bandWhite.addBox(5, -2.5f, -2.5f, 1, 5, 5);
    _bandWhite.setRotationPoint(0,0,0);
    _bandWhite.setTextureSize(64, 32);
    _bandWhite.mirror = true;
    setRotation(_bandWhite, 0F, 0F, 0F);
View Full Code Here

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

    crystal1 = new ModelRenderer(this, 0, 0);
    crystal1.addBox(-1.5F, -7F, -1F, 3, 7, 2);
    crystal1.setRotationPoint(0F, 23F, 0F);
    crystal1.setTextureSize(256, 128);
    setRotation(crystal1, 0.1396263F, -0.418879F, 0F);
    crystal2 = new ModelRenderer(this, 0, 0);
    crystal2.addBox(-1.5F, -7F, -1F, 3, 7, 2);
    crystal2.setRotationPoint(0F, 23F, 0F);
    crystal2.setTextureSize(256, 128);
    setRotation(crystal2, -0.1396263F, 0.418879F, 0F);
    crystal3 = new ModelRenderer(this, 0, 0);
    crystal3.addBox(-1.5F, -7F, -1F, 3, 7, 2);
    crystal3.setRotationPoint(0F, 23F, 0F);
    crystal3.setTextureSize(256, 128);
    setRotation(crystal3, 0.1396263F, 0.418879F, 0F);
    crystal4 = new ModelRenderer(this, 0, 0);
    crystal4.addBox(-1.5F, -7F, -1F, 3, 7, 2);
    crystal4.setRotationPoint(0F, 23F, 0F);
    crystal4.setTextureSize(256, 128);
    setRotation(crystal4, -0.1396263F, -0.418879F, 0F);
    crystal5 = new ModelRenderer(this, 0, 0);
    crystal5.addBox(-1.5F, 0F, -1F, 3, 7, 2);
    crystal5.setRotationPoint(0F, 10F, 0F);
    crystal5.setTextureSize(256, 128);
    setRotation(crystal5, 0.1396263F, 0.418879F, 0F);
    crystal6 = new ModelRenderer(this, 0, 0);
    crystal6.addBox(-1.5F, 0F, -1F, 3, 7, 2);
    crystal6.setRotationPoint(0F, 10F, 0F);
    crystal6.setTextureSize(256, 128);
    setRotation(crystal6, 0.1396263F, -0.418879F, 0F);
    crystal7 = new ModelRenderer(this, 0, 0);
    crystal7.addBox(-1.5F, 0F, -1F, 3, 7, 2);
    crystal7.setRotationPoint(0F, 10F, 0F);
    crystal7.setTextureSize(256, 128);
    setRotation(crystal7, -0.1396263F, -0.418879F, 0F);
    crystal8 = new ModelRenderer(this, 0, 0);
    crystal8.addBox(-1.5F, 0F, -1F, 3, 7, 2);
    crystal8.setRotationPoint(0F, 10F, 0F);
    crystal8.setTextureSize(256, 128);
    setRotation(crystal8, -0.1396263F, 0.418879F, 0F);
    outside1 = new ModelRenderer(this, 17, 0);
    outside1.addBox(0F, -4F, -1.5F, 1, 8, 3);
    outside1.setRotationPoint(4F, 18F, 0F);
    outside1.setTextureSize(256, 128);
    setRotation(outside1, 0F, 0F, 0.1396263F);
    outside2 = new ModelRenderer(this, 17, 0);
    outside2.addBox(-1F, -4F, -1.5F, 1, 8, 3);
    outside2.setRotationPoint(-4F, 18F, 0F);
    outside2.setTextureSize(256, 128);
    setRotation(outside2, 0F, 0F, -0.1396263F);
    outside3 = new ModelRenderer(this, 26, 0);
    outside3.addBox(-1.5F, -3F, -1F, 3, 6, 1);
    outside3.setRotationPoint(0F, 18F, -4F);
    outside3.setTextureSize(256, 128);
    setRotation(outside3, 0.0698132F, 0F, 0F);
    outside4 = new ModelRenderer(this, 26, 0);
    outside4.addBox(-1.5F, -3F, 0F, 3, 6, 1);
    outside4.setRotationPoint(0F, 18F, 4F);
    outside4.setTextureSize(256, 128);
    setRotation(outside4, -0.0698132F, 0F, 0F);
    outside5 = new ModelRenderer(this, 27, 0);
    outside5.addBox(0F, 0F, -4F, 1, 2, 8);
    outside5.setRotationPoint(3F, 18F, 0F);
    outside5.setTextureSize(256, 128);
    setRotation(outside5, 0F, 0F, 0F);
    outside6 = new ModelRenderer(this, 27, 0);
    outside6.addBox(-1F, -1F, -4F, 1, 2, 8);
    outside6.setRotationPoint(-3F, 19F, 0F);
    outside6.setTextureSize(256, 128);
    setRotation(outside6, 0F, 0F, 0F);
    outside7 = new ModelRenderer(this, 17, 12);
    outside7.addBox(-3F, -1F, 0F, 6, 2, 1);
    outside7.setRotationPoint(0F, 19F, 3F);
    outside7.setTextureSize(256, 128);
    setRotation(outside7, 0F, 0F, 0F);
    outside8 = new ModelRenderer(this, 17, 12);
    outside8.addBox(-3F, -1F, -1F, 6, 2, 1);
    outside8.setRotationPoint(0F, 19F, -3F);
    outside8.setTextureSize(256, 128);
    setRotation(outside8, 0F, 0F, 0F);
  }
View Full Code Here

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

    cubeSide1 = new ModelRenderer(this, 0, 0);
    cubeSide1.addBox(0F, 0F, 0F, 14, 1, 14);
    cubeSide1.setRotationPoint(-7F, 22F, -7F);
    cubeSide1.setTextureSize(64, 32);
    cubeSide2 = new ModelRenderer(this, 0, 0);
    cubeSide2.addBox(0F, 0F, 0F, 14, 13, 1);
    cubeSide2.setRotationPoint(-7F, 9F, -7F);
    cubeSide2.setTextureSize(64, 32);
    cubeSide3 = new ModelRenderer(this, 0, 0);
    cubeSide3.addBox(0F, 0F, 0F, 1, 13, 13);
    cubeSide3.setRotationPoint(-7F, 9F, -6F);
    cubeSide3.setTextureSize(64, 32);
    cubeSide4 = new ModelRenderer(this, 0, 0);
    cubeSide4.addBox(0F, 0F, 0F, 1, 13, 13);
    cubeSide4.setRotationPoint(6F, 9F, -6F);
    cubeSide4.setTextureSize(64, 32);
    cubeSide5 = new ModelRenderer(this, 0, 0);
    cubeSide5.addBox(0F, 0F, 0F, 12, 1, 13);
    cubeSide5.setRotationPoint(-6F, 9F, -6F);
    cubeSide5.setTextureSize(64, 32);
    cubeHole1 = new ModelRenderer(this, 0, 0);
    cubeHole1.addBox(0F, 0F, 0F, 4, 12, 1);
    cubeHole1.setRotationPoint(2F, 10F, 6F);
    cubeHole1.setTextureSize(64, 32);
    cubeHole2 = new ModelRenderer(this, 0, 0);
    cubeHole2.addBox(0F, 0F, 0F, 4, 12, 1);
    cubeHole2.setRotationPoint(-6F, 10F, 6F);
    cubeHole2.setTextureSize(64, 32);
    cubeHole3 = new ModelRenderer(this, 0, 0);
    cubeHole3.addBox(0F, 0F, 0F, 4, 4, 1);
    cubeHole3.setRotationPoint(-2F, 18F, 6F);
    cubeHole3.setTextureSize(64, 32);
    cubeHole4 = new ModelRenderer(this, 0, 0);
    cubeHole4.addBox(0F, 0F, 0F, 4, 4, 1);
    cubeHole4.setRotationPoint(-2F, 10F, 6F);
    cubeHole4.setTextureSize(64, 32);
    cubeInside = new ModelRenderer(this, 30, 17);
    cubeInside.addBox(0F, 0F, 0F, 6, 6, 6);
    cubeInside.setRotationPoint(-3F, 13F, -3F);
    cubeInside.setTextureSize(64, 32);
  }
View Full Code Here

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

    potato = new ModelRenderer(this, 0, 0);
    potato.addBox(0F, 0F, 0F, 4, 6, 4);
    potato.setRotationPoint(-2F, 18F, -2F);
    potato.setTextureSize(64, 32);
  }
View Full Code Here

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

    base = new ModelRenderer(this, 0, 0);
    base.addBox(0F, 0F, 0F, 16, 1, 16);
    base.setRotationPoint(-8F, 23F, -8F);
    base.setTextureSize(64, 32);
    side1 = new ModelRenderer(this, 0, 0);
    side1.addBox(0F, 0F, 0F, 16, 7, 1);
    side1.setRotationPoint(-8F, 16F, 7F);
    side1.setTextureSize(64, 32);
    side2 = new ModelRenderer(this, 0, 0);
    side2.addBox(0F, 0F, 0F, 16, 7, 1);
    side2.setRotationPoint(-8F, 16F, -8F);
    side2.setTextureSize(64, 32);
    side3 = new ModelRenderer(this, 0, 0);
    side3.addBox(0F, 0F, 0F, 1, 7, 14);
    side3.setRotationPoint(-8F, 16F, -7F);
    side3.setTextureSize(64, 32);
    side4 = new ModelRenderer(this, 0, 0);
    side4.addBox(0F, 0F, 0F, 1, 7, 14);
    side4.setRotationPoint(7F, 16F, -7F);
    side4.setTextureSize(64, 32);
  }
View Full Code Here

    setTextureOffset("island.Shape4-1", 8, 24);
    setTextureOffset("island.Shape4-2", 16, 24);
    setTextureOffset("island.Shape4-3", 24, 24);
    setTextureOffset("island.Shape4-4", 32, 24);

    island = new ModelRenderer(this, "island");
    island.setRotationPoint(0F, 16F, 0F);
    //    island.mirror = true;
    island.addBox("Shape0", -1F, 0F, -1F, 2, 5, 2);
    island.addBox("Shape1-1", -1F, 0F, -3F, 2, 4, 2);
    island.addBox("Shape1-2", 1F, 0F, -1F, 2, 4, 2);
View Full Code Here

public class ModelSpinningCubes extends ModelBase {

  ModelRenderer spinningCube;

  public ModelSpinningCubes() {
    spinningCube = new ModelRenderer(this, 42, 0);
    spinningCube.addBox(0F, 0F, 0F, 1, 1, 1);
    spinningCube.setRotationPoint(0F, 0F, 0F);
    spinningCube.setTextureSize(64, 64);
  }
View Full Code Here

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

    Body = new ModelRenderer(this, 0, 0);
    Body.addBox(0F, 0F, 0F, 4, 4, 4);
    Body.setRotationPoint(-2F, 16F, -2F);
    Body.setTextureSize(64, 32);
    Body.mirror = true;
    setRotation(Body, 0F, 0F, 0F);
    LeftWing = new ModelRenderer(this, 32, 0);
    LeftWing.addBox(0F, 0F, -1F, 0, 4, 7);
    LeftWing.setRotationPoint(2F, 15F, 2F);
    LeftWing.setTextureSize(64, 32);
    LeftWing.mirror = true;
    setRotation(LeftWing, 0F, 0F, 0F);
    RightWing = new ModelRenderer(this, 50, 0);
    RightWing.addBox(0F, 0F, -1F, 0, 4, 7);
    RightWing.setRotationPoint(-2F, 15F, 2F);
    RightWing.setTextureSize(64, 32);
    RightWing.mirror = true;
    setRotation(RightWing, 0F, 0F, 0F);
View Full Code Here

TOP

Related Classes of net.minecraft.client.model.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.