@Environment(value=CLIENT) public class SpiderEntityModel<T extends Entity> extends CompositeEntityModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
abdomen |
private ModelPart |
head |
private ModelPart |
leftBackLeg |
private ModelPart |
leftBackMiddleLeg |
private ModelPart |
leftFrontLeg |
private ModelPart |
leftFrontMiddleLeg |
private ModelPart |
rightBackLeg |
private ModelPart |
rightBackMiddleLeg |
private ModelPart |
rightFrontLeg |
private ModelPart |
rightFrontMiddleLeg |
private ModelPart |
thorax |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
SpiderEntityModel() |
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 head
private final ModelPart thorax
private final ModelPart abdomen
private final ModelPart rightBackLeg
private final ModelPart leftBackLeg
private final ModelPart rightBackMiddleLeg
private final ModelPart leftBackMiddleLeg
private final ModelPart rightFrontMiddleLeg
private final ModelPart leftFrontMiddleLeg
private final ModelPart rightFrontLeg
private final ModelPart leftFrontLeg
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>