@Environment(value=CLIENT) public class BoatEntityModel extends CompositeEntityModel<BoatEntity>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
bottom |
private ModelPart[] |
paddles |
private ImmutableList<ModelPart> |
parts |
child, handSwingProgress, riding
layerFactory, textureHeight, textureWidth
Constructor and Description |
---|
BoatEntityModel() |
Modifier and Type | Method and Description |
---|---|
ModelPart |
getBottom() |
ImmutableList<ModelPart> |
getParts() |
protected ModelPart |
makePaddle(boolean isLeft) |
void |
setAngles(BoatEntity boatEntity,
float float2,
float float3,
float float4,
float float5,
float float6) |
protected void |
setPaddleAngle(BoatEntity boat,
int paddle,
float angle) |
render
animateModel, copyStateTo
private final ModelPart[] paddles
private final ModelPart bottom
private final ImmutableList<ModelPart> parts
public void setAngles(BoatEntity boatEntity, float float2, float float3, float float4, float float5, float float6)
setAngles
in class EntityModel<BoatEntity>
public ImmutableList<ModelPart> getParts()
getParts
in class CompositeEntityModel<BoatEntity>
public ModelPart getBottom()
protected ModelPart makePaddle(boolean isLeft)
protected void setPaddleAngle(BoatEntity boat, int paddle, float angle)