Package net.minecraft.client.model
Class RaftModel
- Direct Known Subclasses:
ChestRaftModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate final ModelPartprivate final com.google.common.collect.ImmutableList<ModelPart> private static final Stringprivate final ModelPartFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidanimatePaddle(Boat boat, int side, ModelPart paddle, float limbSwing) static LayerDefinitionstatic voidcreateChildren(PartDefinition root) protected com.google.common.collect.ImmutableList.Builder<ModelPart> createPartsBuilder(ModelPart root) com.google.common.collect.ImmutableList<ModelPart> parts()voidsetupAnim(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
renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
LEFT_PADDLE
- See Also:
-
RIGHT_PADDLE
- See Also:
-
BOTTOM
- See Also:
-
leftPaddle
-
rightPaddle
-
parts
-
-
Constructor Details
-
RaftModel
-
-
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:
setupAnimin classEntityModel<Boat>
-
parts
-
animatePaddle
-