public abstract class ModelBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<ModelRenderer> |
boxList |
boolean |
isChild |
boolean |
isRiding |
float |
swingProgress |
int |
textureHeight |
int |
textureWidth |
Constructor and Description |
---|
ModelBase() |
Modifier and Type | Method and Description |
---|---|
static void |
copyModelAngles(ModelRenderer source,
ModelRenderer dest) |
ModelRenderer |
getRandomModelBox(java.util.Random rand) |
TextureOffset |
getTextureOffset(java.lang.String partName) |
void |
render(Entity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
void |
setLivingAnimations(EntityLivingBase entitylivingbaseIn,
float p_78086_2_,
float p_78086_3_,
float partialTickTime) |
void |
setModelAttributes(ModelBase model) |
void |
setRotationAngles(float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scaleFactor,
Entity entityIn) |
protected void |
setTextureOffset(java.lang.String partName,
int x,
int y) |
public float swingProgress
public boolean isRiding
public boolean isChild
public java.util.List<ModelRenderer> boxList
public int textureWidth
public int textureHeight
public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
public void setLivingAnimations(EntityLivingBase entitylivingbaseIn, float p_78086_2_, float p_78086_3_, float partialTickTime)
public ModelRenderer getRandomModelBox(java.util.Random rand)
protected void setTextureOffset(java.lang.String partName, int x, int y)
public TextureOffset getTextureOffset(java.lang.String partName)
public static void copyModelAngles(ModelRenderer source, ModelRenderer dest)
public void setModelAttributes(ModelBase model)