YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.model.ModelRenderer Class Reference

Public Member Functions

 ModelRenderer (ModelBase par1ModelBase, String par2Str)
 
 ModelRenderer (ModelBase par1ModelBase)
 
 ModelRenderer (ModelBase par1ModelBase, int par2, int par3)
 
void addChild (ModelRenderer par1ModelRenderer)
 
ModelRenderer setTextureOffset (int par1, int par2)
 
ModelRenderer addBox (String par1Str, float par2, float par3, float par4, int par5, int par6, int par7)
 
ModelRenderer addBox (float par1, float par2, float par3, int par4, int par5, int par6)
 
void addBox (float par1, float par2, float par3, int par4, int par5, int par6, float par7)
 
void setRotationPoint (float par1, float par2, float par3)
 
void render (float par1)
 
void renderWithRotation (float par1)
 
void postRender (float par1)
 
ModelRenderer setTextureSize (int par1, int par2)
 

Public Attributes

float textureWidth
 
float textureHeight
 
float rotationPointX
 
float rotationPointY
 
float rotationPointZ
 
float rotateAngleX
 
float rotateAngleY
 
float rotateAngleZ
 
boolean mirror
 
boolean showModel
 
boolean isHidden
 
List cubeList
 
List childModels
 
final String boxName
 
float field_82906_o
 
float field_82908_p
 
float field_82907_q
 

Constructor & Destructor Documentation

net.minecraft.client.model.ModelRenderer.ModelRenderer ( ModelBase  par1ModelBase,
String  par2Str 
)
net.minecraft.client.model.ModelRenderer.ModelRenderer ( ModelBase  par1ModelBase)
net.minecraft.client.model.ModelRenderer.ModelRenderer ( ModelBase  par1ModelBase,
int  par2,
int  par3 
)

Member Function Documentation

ModelRenderer net.minecraft.client.model.ModelRenderer.addBox ( String  par1Str,
float  par2,
float  par3,
float  par4,
int  par5,
int  par6,
int  par7 
)
ModelRenderer net.minecraft.client.model.ModelRenderer.addBox ( float  par1,
float  par2,
float  par3,
int  par4,
int  par5,
int  par6 
)
void net.minecraft.client.model.ModelRenderer.addBox ( float  par1,
float  par2,
float  par3,
int  par4,
int  par5,
int  par6,
float  par7 
)

Creates a textured box. Args: originX, originY, originZ, width, height, depth, scaleFactor.

void net.minecraft.client.model.ModelRenderer.addChild ( ModelRenderer  par1ModelRenderer)

Sets the current box's rotation points and rotation angles to another box.

void net.minecraft.client.model.ModelRenderer.postRender ( float  par1)

Allows the changing of Angles after a box has been rendered

void net.minecraft.client.model.ModelRenderer.render ( float  par1)
void net.minecraft.client.model.ModelRenderer.renderWithRotation ( float  par1)
void net.minecraft.client.model.ModelRenderer.setRotationPoint ( float  par1,
float  par2,
float  par3 
)
ModelRenderer net.minecraft.client.model.ModelRenderer.setTextureOffset ( int  par1,
int  par2 
)
ModelRenderer net.minecraft.client.model.ModelRenderer.setTextureSize ( int  par1,
int  par2 
)

Returns the model renderer with the new texture parameters.

Member Data Documentation

final String net.minecraft.client.model.ModelRenderer.boxName
List net.minecraft.client.model.ModelRenderer.childModels
List net.minecraft.client.model.ModelRenderer.cubeList
float net.minecraft.client.model.ModelRenderer.field_82906_o
float net.minecraft.client.model.ModelRenderer.field_82907_q
float net.minecraft.client.model.ModelRenderer.field_82908_p
boolean net.minecraft.client.model.ModelRenderer.isHidden

Hides the model.

boolean net.minecraft.client.model.ModelRenderer.mirror
float net.minecraft.client.model.ModelRenderer.rotateAngleX
float net.minecraft.client.model.ModelRenderer.rotateAngleY
float net.minecraft.client.model.ModelRenderer.rotateAngleZ
float net.minecraft.client.model.ModelRenderer.rotationPointX
float net.minecraft.client.model.ModelRenderer.rotationPointY
float net.minecraft.client.model.ModelRenderer.rotationPointZ
boolean net.minecraft.client.model.ModelRenderer.showModel
float net.minecraft.client.model.ModelRenderer.textureHeight

The size of the texture file's height in pixels.

float net.minecraft.client.model.ModelRenderer.textureWidth

The size of the texture file's width in pixels.


The documentation for this class was generated from the following file: