@Environment(value=CLIENT) public class SilverfishEntityModel<T extends Entity> extends CompositeEntityModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelPart[] |
body |
private ImmutableList<ModelPart> |
parts |
private ModelPart[] |
scales |
private float[] |
scaleSizes |
private static int[][] |
segmentLocations |
private static int[][] |
segmentSizes |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
SilverfishEntityModel() |
Modifier and Type | Method and Description |
---|---|
ImmutableList<ModelPart> |
getParts() |
void |
setAngles(T entity,
float limbAngle,
float limbDistance,
float animationProgress,
float headYaw,
float headPitch) |
render
animateModel, copyStateTo
private static final int[][] segmentLocations
private static final int[][] segmentSizes
private final ModelPart[] body
private final ModelPart[] scales
private final ImmutableList<ModelPart> parts
private final float[] scaleSizes
public ImmutableList<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>