YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.model.ModelBase Class Reference
Inheritance diagram for net.minecraft.client.model.ModelBase:
net.minecraft.client.model.ModelBat net.minecraft.client.model.ModelBiped net.minecraft.client.model.ModelBlaze net.minecraft.client.model.ModelBoat net.minecraft.client.model.ModelBook net.minecraft.client.model.ModelChest net.minecraft.client.model.ModelChicken net.minecraft.client.model.ModelCreeper net.minecraft.client.model.ModelDragon net.minecraft.client.model.ModelEnderCrystal net.minecraft.client.model.ModelGhast net.minecraft.client.model.ModelIronGolem net.minecraft.client.model.ModelMagmaCube net.minecraft.client.model.ModelMinecart net.minecraft.client.model.ModelOcelot net.minecraft.client.model.ModelQuadruped net.minecraft.client.model.ModelSign net.minecraft.client.model.ModelSilverfish net.minecraft.client.model.ModelSkeletonHead net.minecraft.client.model.ModelSlime net.minecraft.client.model.ModelSnowMan net.minecraft.client.model.ModelSpider net.minecraft.client.model.ModelSquid net.minecraft.client.model.ModelVillager net.minecraft.client.model.ModelWither net.minecraft.client.model.ModelWolf

Public Member Functions

void render (Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
 
void setRotationAngles (float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)
 
void setLivingAnimations (EntityLiving par1EntityLiving, float par2, float par3, float par4)
 
ModelRenderer getRandomModelBox (Random par1Random)
 
TextureOffset getTextureOffset (String par1Str)
 

Public Attributes

float onGround
 
boolean isRiding = false
 
List boxList = new ArrayList()
 
boolean isChild = true
 
int textureWidth = 64
 
int textureHeight = 32
 

Protected Member Functions

void setTextureOffset (String par1Str, int par2, int par3)
 

Member Function Documentation

ModelRenderer net.minecraft.client.model.ModelBase.getRandomModelBox ( Random  par1Random)
TextureOffset net.minecraft.client.model.ModelBase.getTextureOffset ( String  par1Str)
void net.minecraft.client.model.ModelBase.render ( Entity  par1Entity,
float  par2,
float  par3,
float  par4,
float  par5,
float  par6,
float  par7 
)

Sets the models various rotation angles then renders the model.

void net.minecraft.client.model.ModelBase.setLivingAnimations ( EntityLiving  par1EntityLiving,
float  par2,
float  par3,
float  par4 
)

Used for easily adding entity-dependent animations. The second and third float params here are the same second and third as in the setRotationAngles method.

void net.minecraft.client.model.ModelBase.setRotationAngles ( float  par1,
float  par2,
float  par3,
float  par4,
float  par5,
float  par6,
Entity  par7Entity 
)

Sets the model's various rotation angles. For bipeds, par1 and par2 are used for animating the movement of arms and legs, where par1 represents the time(so that arms and legs swing back and forth) and par2 represents how "far" arms and legs can swing at most.

void net.minecraft.client.model.ModelBase.setTextureOffset ( String  par1Str,
int  par2,
int  par3 
)
protected

Member Data Documentation

List net.minecraft.client.model.ModelBase.boxList = new ArrayList()

This is a list of all the boxes (ModelRenderer.class) in the current model.

boolean net.minecraft.client.model.ModelBase.isChild = true
boolean net.minecraft.client.model.ModelBase.isRiding = false
float net.minecraft.client.model.ModelBase.onGround
int net.minecraft.client.model.ModelBase.textureHeight = 32
int net.minecraft.client.model.ModelBase.textureWidth = 64

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