Class BoatEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<BoatEntity>
net.minecraft.client.render.entity.model.CompositeEntityModel<BoatEntity>
net.minecraft.client.render.entity.model.BoatEntityModel
- All Implemented Interfaces:
ModelWithWaterPatch
- Direct Known Subclasses:
ChestBoatEntityModel
@Environment(CLIENT)
public class BoatEntityModel
extends CompositeEntityModel<BoatEntity>
implements ModelWithWaterPatch
Represents the model of a BoatEntity.
Part Name | Parent | Corresponding Field |
---|---|---|
"bottom" | Root part | |
"back" | Root part | |
"front" | Root part | |
"right" | Root part | |
"left" | Root part | |
"left_paddle" | Root part | leftPaddle |
"right_paddle" | Root part | rightPaddle |
"water_patch" | Root part | waterPatch |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/BoatEntityModel
intermediary net/minecraft/class_554
official ftw
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
The key of the back model part, whose value is "back".private static final String
The key of the bottom model part, whose value is "bottom".private static final String
The key of the front model part, whose value is "front".private static final String
The key of the left model part, whose value is "left".private static final String
The key of the left paddle model part, whose value is "left_paddle".private final ModelPart
private final ImmutableList
<ModelPart> private static final String
The key of the right model part, whose value is "right".private static final String
The key of the right paddle model part, whose value is "right_paddle".private final ModelPart
private static final String
The key of the water patch model part, whose value is "water_patch".private final ModelPart
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addParts
(ModelPartData modelPartData) getParts()
protected ImmutableList.Builder
<ModelPart> static TexturedModelData
void
setAngles
(BoatEntity boatEntity, float float2, float float3, float float4, float float5, float float6) private static void
setPaddleAngle
(BoatEntity entity, int sigma, ModelPart part, 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
-
LEFT_PADDLE
The key of the left paddle model part, whose value is "left_paddle".- See Also:
- Mappings:
Namespace Name Mixin selector named LEFT_PADDLE
Lnet/minecraft/client/render/entity/model/BoatEntityModel;LEFT_PADDLE:Ljava/lang/String;
intermediary field_32458
Lnet/minecraft/class_554;field_32458:Ljava/lang/String;
official a
Lftw;a:Ljava/lang/String;
-
RIGHT_PADDLE
The key of the right paddle model part, whose value is "right_paddle".- See Also:
- Mappings:
Namespace Name Mixin selector named RIGHT_PADDLE
Lnet/minecraft/client/render/entity/model/BoatEntityModel;RIGHT_PADDLE:Ljava/lang/String;
intermediary field_32459
Lnet/minecraft/class_554;field_32459:Ljava/lang/String;
official b
Lftw;b:Ljava/lang/String;
-
WATER_PATCH
The key of the water patch model part, whose value is "water_patch".- See Also:
- Mappings:
Namespace Name Mixin selector named WATER_PATCH
Lnet/minecraft/client/render/entity/model/BoatEntityModel;WATER_PATCH:Ljava/lang/String;
intermediary field_32460
Lnet/minecraft/class_554;field_32460:Ljava/lang/String;
official f
Lftw;f:Ljava/lang/String;
-
BOTTOM
The key of the bottom model part, whose value is "bottom".- See Also:
- Mappings:
Namespace Name Mixin selector named BOTTOM
Lnet/minecraft/client/render/entity/model/BoatEntityModel;BOTTOM:Ljava/lang/String;
intermediary field_32461
Lnet/minecraft/class_554;field_32461:Ljava/lang/String;
official g
Lftw;g:Ljava/lang/String;
-
BACK
The key of the back model part, whose value is "back".- See Also:
- Mappings:
Namespace Name Mixin selector named BACK
Lnet/minecraft/client/render/entity/model/BoatEntityModel;BACK:Ljava/lang/String;
intermediary field_32462
Lnet/minecraft/class_554;field_32462:Ljava/lang/String;
official h
Lftw;h:Ljava/lang/String;
-
FRONT
The key of the front model part, whose value is "front".- See Also:
- Mappings:
Namespace Name Mixin selector named FRONT
Lnet/minecraft/client/render/entity/model/BoatEntityModel;FRONT:Ljava/lang/String;
intermediary field_32463
Lnet/minecraft/class_554;field_32463:Ljava/lang/String;
official i
Lftw;i:Ljava/lang/String;
-
RIGHT
The key of the right model part, whose value is "right".- See Also:
- Mappings:
Namespace Name Mixin selector named RIGHT
Lnet/minecraft/client/render/entity/model/BoatEntityModel;RIGHT:Ljava/lang/String;
intermediary field_32464
Lnet/minecraft/class_554;field_32464:Ljava/lang/String;
official j
Lftw;j:Ljava/lang/String;
-
LEFT
The key of the left model part, whose value is "left".- See Also:
- Mappings:
Namespace Name Mixin selector named LEFT
Lnet/minecraft/client/render/entity/model/BoatEntityModel;LEFT:Ljava/lang/String;
intermediary field_32465
Lnet/minecraft/class_554;field_32465:Ljava/lang/String;
official k
Lftw;k:Ljava/lang/String;
-
leftPaddle
- Mappings:
Namespace Name Mixin selector named leftPaddle
Lnet/minecraft/client/render/entity/model/BoatEntityModel;leftPaddle:Lnet/minecraft/client/model/ModelPart;
intermediary field_27396
Lnet/minecraft/class_554;field_27396:Lnet/minecraft/class_630;
official l
Lftw;l:Lfxq;
-
rightPaddle
- Mappings:
Namespace Name Mixin selector named rightPaddle
Lnet/minecraft/client/render/entity/model/BoatEntityModel;rightPaddle:Lnet/minecraft/client/model/ModelPart;
intermediary field_27397
Lnet/minecraft/class_554;field_27397:Lnet/minecraft/class_630;
official m
Lftw;m:Lfxq;
-
waterPatch
- Mappings:
Namespace Name Mixin selector named waterPatch
Lnet/minecraft/client/render/entity/model/BoatEntityModel;waterPatch:Lnet/minecraft/client/model/ModelPart;
intermediary field_3326
Lnet/minecraft/class_554;field_3326:Lnet/minecraft/class_630;
official n
Lftw;n:Lfxq;
-
parts
- Mappings:
Namespace Name Mixin selector named parts
Lnet/minecraft/client/render/entity/model/BoatEntityModel;parts:Lcom/google/common/collect/ImmutableList;
intermediary field_20922
Lnet/minecraft/class_554;field_20922:Lcom/google/common/collect/ImmutableList;
official o
Lftw;o:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
BoatEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/BoatEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_554;<init>(Lnet/minecraft/class_630;)V
official <init>
Lftw;<init>(Lfxq;)V
-
-
Method Details
-
getParts
- Mappings:
Namespace Name Mixin selector named getParts
Lnet/minecraft/client/render/entity/model/BoatEntityModel;getParts(Lnet/minecraft/client/model/ModelPart;)Lcom/google/common/collect/ImmutableList$Builder;
intermediary method_45702
Lnet/minecraft/class_554;method_45702(Lnet/minecraft/class_630;)Lcom/google/common/collect/ImmutableList$Builder;
official a
Lftw;a(Lfxq;)Lcom/google/common/collect/ImmutableList$Builder;
-
addParts
- Mappings:
Namespace Name Mixin selector named addParts
Lnet/minecraft/client/render/entity/model/BoatEntityModel;addParts(Lnet/minecraft/client/model/ModelPartData;)V
intermediary method_45703
Lnet/minecraft/class_554;method_45703(Lnet/minecraft/class_5610;)V
official a
Lftw;a(Lfxz;)V
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelData
Lnet/minecraft/client/render/entity/model/BoatEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
intermediary method_31985
Lnet/minecraft/class_554;method_31985()Lnet/minecraft/class_5607;
official a
Lftw;a()Lfxw;
-
setAngles
public void setAngles(BoatEntity boatEntity, float float2, float float3, float float4, float float5, float float6) - Specified by:
setAngles
in classEntityModel<BoatEntity>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/BoatEntityModel;setAngles(Lnet/minecraft/entity/vehicle/BoatEntity;FFFFF)V
intermediary method_22952
Lnet/minecraft/class_554;method_22952(Lnet/minecraft/class_1690;FFFFF)V
official a
Lftw;a(Lcoi;FFFFF)V
-
getParts
- Specified by:
getParts
in classCompositeEntityModel<BoatEntity>
- Mappings:
Namespace Name Mixin selector named getParts
Lnet/minecraft/client/render/entity/model/BoatEntityModel;getParts()Lcom/google/common/collect/ImmutableList;
intermediary method_22953
Lnet/minecraft/class_554;method_22953()Lcom/google/common/collect/ImmutableList;
official b
Lftw;b()Lcom/google/common/collect/ImmutableList;
-
getWaterPatch
- Specified by:
getWaterPatch
in interfaceModelWithWaterPatch
- Mappings:
Namespace Name Mixin selector named getWaterPatch
Lnet/minecraft/client/render/entity/model/ModelWithWaterPatch;getWaterPatch()Lnet/minecraft/client/model/ModelPart;
intermediary method_22954
Lnet/minecraft/class_7755;method_22954()Lnet/minecraft/class_630;
official c
Lfxd;c()Lfxq;
-
setPaddleAngle
- Mappings:
Namespace Name Mixin selector named setPaddleAngle
Lnet/minecraft/client/render/entity/model/BoatEntityModel;setPaddleAngle(Lnet/minecraft/entity/vehicle/BoatEntity;ILnet/minecraft/client/model/ModelPart;F)V
intermediary method_2797
Lnet/minecraft/class_554;method_2797(Lnet/minecraft/class_1690;ILnet/minecraft/class_630;F)V
official a
Lftw;a(Lcoi;ILfxq;F)V
-