@Environment(value=CLIENT) public class SnowGolemEntityModel<T extends Entity> extends CompositeEntityModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
bottomSnowball |
private ModelPart |
leftArm |
private ModelPart |
middleSnowball |
private ModelPart |
rightArm |
private ModelPart |
topSnowball |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
SnowGolemEntityModel() |
Modifier and Type | Method and Description |
---|---|
Iterable<ModelPart> |
getParts() |
ModelPart |
getTopSnowball() |
void |
setAngles(T entity,
float limbAngle,
float limbDistance,
float animationProgress,
float headYaw,
float headPitch) |
render
animateModel, copyStateTo
private final ModelPart middleSnowball
private final ModelPart bottomSnowball
private final ModelPart topSnowball
private final ModelPart leftArm
private final ModelPart rightArm
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
setAngles
in class EntityModel<T extends Entity>
public Iterable<ModelPart> getParts()
getParts
in class CompositeEntityModel<T extends Entity>
public ModelPart getTopSnowball()