YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.model.ModelSheep2 Class Reference
Inheritance diagram for net.minecraft.client.model.ModelSheep2:
net.minecraft.client.model.ModelQuadruped net.minecraft.client.model.ModelBase

Public Member Functions

 ModelSheep2 ()
 
void setLivingAnimations (EntityLiving par1EntityLiving, float par2, float par3, float par4)
 
void setRotationAngles (float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)
 
- Public Member Functions inherited from net.minecraft.client.model.ModelQuadruped
 ModelQuadruped (int par1, float par2)
 
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)
 
- Public Member Functions inherited from net.minecraft.client.model.ModelBase
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)
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.client.model.ModelQuadruped
ModelRenderer head = new ModelRenderer(this, 0, 0)
 
ModelRenderer body
 
ModelRenderer leg1
 
ModelRenderer leg2
 
ModelRenderer leg3
 
ModelRenderer leg4
 
- Protected Member Functions inherited from net.minecraft.client.model.ModelBase
void setTextureOffset (String par1Str, int par2, int par3)
 
- Protected Attributes inherited from net.minecraft.client.model.ModelQuadruped
float field_78145_g = 8.0F
 
float field_78151_h = 4.0F
 

Constructor & Destructor Documentation

net.minecraft.client.model.ModelSheep2.ModelSheep2 ( )

Member Function Documentation

void net.minecraft.client.model.ModelSheep2.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.ModelSheep2.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.


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