@Environment(value=CLIENT) public abstract class EntityModel<T extends Entity> extends Model
Modifier and Type | Field and Description |
---|---|
boolean |
child |
float |
handSwingProgress |
boolean |
riding |
layerFactory, textureHeight, textureWidth
Modifier | Constructor and Description |
---|---|
protected |
EntityModel() |
protected |
EntityModel(Function<Identifier,RenderLayer> layerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
animateModel(T entity,
float limbAngle,
float limbDistance,
float tickDelta) |
void |
copyStateTo(EntityModel<T> copy) |
abstract void |
setAngles(T entity,
float limbAngle,
float limbDistance,
float animationProgress,
float headYaw,
float headPitch) |
public float handSwingProgress
public boolean riding
public boolean child
protected EntityModel()
protected EntityModel(Function<Identifier,RenderLayer> layerFactory)
public abstract void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
public void animateModel(T entity, float limbAngle, float limbDistance, float tickDelta)
public void copyStateTo(EntityModel<T> copy)