public abstract class EntityModel<T extends Entity> extends Model
Modifier and Type | Field and Description |
---|---|
boolean |
isChild |
boolean |
isSitting |
float |
swingProgress |
renderType, textureHeight, textureWidth
Modifier | Constructor and Description |
---|---|
protected |
EntityModel() |
protected |
EntityModel(java.util.function.Function<ResourceLocation,RenderType> p_i225945_1_) |
Modifier and Type | Method and Description |
---|---|
void |
copyModelAttributesTo(EntityModel<T> p_217111_1_) |
void |
setLivingAnimations(T entityIn,
float limbSwing,
float limbSwingAmount,
float partialTick) |
abstract void |
setRotationAngles(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch) |
accept, getRenderType, render
public float swingProgress
public boolean isSitting
public boolean isChild
protected EntityModel()
protected EntityModel(java.util.function.Function<ResourceLocation,RenderType> p_i225945_1_)
public abstract void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
public void setLivingAnimations(T entityIn, float limbSwing, float limbSwingAmount, float partialTick)
public void copyModelAttributesTo(EntityModel<T> p_217111_1_)