@Environment(value=CLIENT) public class PhantomEntityModel<T extends Entity> extends CompositeEntityModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
body |
private ModelPart |
leftWing |
private ModelPart |
leftWingTip |
private ModelPart |
lowerTail |
private ModelPart |
rightWing |
private ModelPart |
rightWingTip |
private ModelPart |
tail |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
PhantomEntityModel() |
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 body
private final ModelPart leftWing
private final ModelPart leftWingTip
private final ModelPart rightWing
private final ModelPart rightWingTip
private final ModelPart tail
private final ModelPart lowerTail
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>