Package net.minecraft.client.model
Class BoatModel
- All Implemented Interfaces:
WaterPatchModel
- Direct Known Subclasses:
ChestBoatModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private final ModelPart
private final com.google.common.collect.ImmutableList
<ModelPart> private static final String
private static final String
private final ModelPart
private static final String
private final ModelPart
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
animatePaddle
(Boat boat, int side, ModelPart paddle, float limbSwing) static LayerDefinition
static void
createChildren
(PartDefinition root) protected com.google.common.collect.ImmutableList.Builder
<ModelPart> createPartsBuilder
(ModelPart root) com.google.common.collect.ImmutableList
<ModelPart> parts()
void
setupAnim
(Boat entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.ListModel
renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
LEFT_PADDLE
- See Also:
-
RIGHT_PADDLE
- See Also:
-
WATER_PATCH
- See Also:
-
BOTTOM
- See Also:
-
BACK
- See Also:
-
FRONT
- See Also:
-
RIGHT
- See Also:
-
LEFT
- See Also:
-
leftPaddle
-
rightPaddle
-
waterPatch
-
parts
-
-
Constructor Details
-
BoatModel
-
-
Method Details
-
createPartsBuilder
-
createChildren
-
createBodyModel
-
setupAnim
public void setupAnim(Boat entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<Boat>
-
parts
-
waterPatch
- Specified by:
waterPatch
in interfaceWaterPatchModel
-
animatePaddle
-