@Environment(value=CLIENT) public class SalmonEntityModel<T extends Entity> extends CompositeEntityModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
head |
private ModelPart |
leftFin |
private ModelPart |
rightFin |
private ModelPart |
tail |
private ModelPart |
torso |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
SalmonEntityModel() |
Modifier and Type | Method and Description |
---|---|
Iterable<ModelPart> |
getParts() |
void |
setAngles(T entity,
float limbAngle,
float limbDistance,
float animationProgress,
float headYaw,
float headPitch) |
render
animateModel, copyStateTo
private final ModelPart torso
private final ModelPart tail
private final ModelPart head
private final ModelPart rightFin
private final ModelPart leftFin
public Iterable<ModelPart> getParts()
getParts
in class CompositeEntityModel<T extends Entity>
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
setAngles
in class EntityModel<T extends Entity>