Package net.minecraft.src
Class ModelRenderer
- java.lang.Object
-
- net.minecraft.src.ModelRenderer
-
@Client public class ModelRenderer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
boxName
java.util.List
childModels
java.util.List
cubeList
boolean
isHidden
boolean
mirror
float
rotateAngleX
float
rotateAngleY
float
rotateAngleZ
float
rotationPointX
float
rotationPointY
float
rotationPointZ
boolean
showModel
float
textureHeight
float
textureWidth
-
Constructor Summary
Constructors Constructor Description ModelRenderer(ModelBase var1)
ModelRenderer(ModelBase var1, int var2, int var3)
ModelRenderer(ModelBase var1, java.lang.String var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelRenderer
addBox(float var1, float var2, float var3, int var4, int var5, int var6)
void
addBox(float var1, float var2, float var3, int var4, int var5, int var6, float var7)
ModelRenderer
addBox(java.lang.String var1, float var2, float var3, float var4, int var5, int var6, int var7)
void
addChild(ModelRenderer var1)
void
copyFrom(ModelRenderer other)
void
postRender(float var1)
void
render(float var1)
void
renderWithRotation(float var1)
void
setRotationPoint(float var1, float var2, float var3)
ModelRenderer
setTextureOffset(int var1, int var2)
ModelRenderer
setTextureSize(int var1, int var2)
-
-
-
Field Detail
-
textureWidth
public float textureWidth
-
textureHeight
public float textureHeight
-
rotationPointX
public float rotationPointX
-
rotationPointY
public float rotationPointY
-
rotationPointZ
public float rotationPointZ
-
rotateAngleX
public float rotateAngleX
-
rotateAngleY
public float rotateAngleY
-
rotateAngleZ
public float rotateAngleZ
-
mirror
public boolean mirror
-
showModel
public boolean showModel
-
isHidden
public boolean isHidden
-
cubeList
public java.util.List cubeList
-
childModels
public java.util.List childModels
-
boxName
public final java.lang.String boxName
-
-
Method Detail
-
addChild
public void addChild(ModelRenderer var1)
-
setTextureOffset
public ModelRenderer setTextureOffset(int var1, int var2)
-
addBox
public ModelRenderer addBox(java.lang.String var1, float var2, float var3, float var4, int var5, int var6, int var7)
-
addBox
public ModelRenderer addBox(float var1, float var2, float var3, int var4, int var5, int var6)
-
addBox
public void addBox(float var1, float var2, float var3, int var4, int var5, int var6, float var7)
-
setRotationPoint
public void setRotationPoint(float var1, float var2, float var3)
-
render
public void render(float var1)
-
renderWithRotation
public void renderWithRotation(float var1)
-
postRender
public void postRender(float var1)
-
setTextureSize
public ModelRenderer setTextureSize(int var1, int var2)
-
copyFrom
public void copyFrom(ModelRenderer other)
-
-