public abstract class ModelBase extends Object
Modifier and Type | Field and Description |
---|---|
List |
boxList
This is a list of all the boxes (ModelRenderer.class) in the current model.
|
boolean |
isChild |
boolean |
isRiding |
float |
onGround |
int |
textureHeight |
int |
textureWidth |
Constructor and Description |
---|
ModelBase() |
Modifier and Type | Method and Description |
---|---|
ModelRenderer |
getRandomModelBox(Random par1Random) |
TextureOffset |
getTextureOffset(String par1Str) |
void |
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 |
setLivingAnimations(EntityLiving par1EntityLiving,
float par2,
float par3,
float par4)
Used for easily adding entity-dependent animations.
|
void |
setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
public float onGround
public boolean isRiding
public List boxList
public boolean isChild
public int textureWidth
public int textureHeight
public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)
public void setLivingAnimations(EntityLiving par1EntityLiving, float par2, float par3, float par4)
public ModelRenderer getRandomModelBox(Random par1Random)
public TextureOffset getTextureOffset(String par1Str)