@Environment(value=CLIENT) public class SlimeEntityModel<T extends Entity> extends CompositeEntityModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
innerCube |
private ModelPart |
leftEye |
private ModelPart |
mouth |
private ModelPart |
rightEye |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
SlimeEntityModel(int size) |
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 innerCube
private final ModelPart rightEye
private final ModelPart leftEye
private final ModelPart mouth
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
setAngles
in class EntityModel<T extends Entity>