Class BoatEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.CompositeEntityModel<BoatEntity>
net.minecraft.client.render.entity.model.BoatEntityModel
@Environment(CLIENT) public class BoatEntityModel extends CompositeEntityModel<BoatEntity>
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
bottom
private ModelPart[]
paddles
private ImmutableList<ModelPart>
parts
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth
-
Constructor Summary
Constructors Constructor Description BoatEntityModel()
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
paddles
-
bottom
-
parts
-
-
Constructor Details
-
BoatEntityModel
public BoatEntityModel()
-
-
Method Details
-
setAngles
public void setAngles(BoatEntity boatEntity, float float2, float float3, float float4, float float5, float float6)- Specified by:
setAngles
in classEntityModel<BoatEntity>
-
getParts
- Specified by:
getParts
in classCompositeEntityModel<BoatEntity>
-
getBottom
-
makePaddle
-
setPaddleAngle
-