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
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 official epmintermediary net/minecraft/class_554named net/minecraft/client/render/entity/model/BoatEntityModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringThe key of the back model part, whose value is "back".private static final StringThe key of the bottom model part, whose value is "bottom".private static final StringThe key of the chest bottom model part, whose value is "chest_bottom".private static final StringThe key of the chest lid model part, whose value is "chest_lid".private static final StringThe key of the chest lock model part, whose value is "chest_lock".private static final StringThe key of the front model part, whose value is "front".private static final StringThe key of the left model part, whose value is "left".private static final StringThe key of the left paddle model part, whose value is "left_paddle".private final ModelPartprivate final ImmutableList<ModelPart>private static final StringThe key of the right model part, whose value is "right".private static final StringThe key of the right paddle model part, whose value is "right_paddle".private final ModelPartprivate static final StringThe key of the water patch model part, whose value is "water_patch".private final ModelPartFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParts()static TexturedModelDatagetTexturedModelData(boolean chest) voidsetAngles(BoatEntity boatEntity, float float2, float float3, float float4, float float5, float float6) private static voidsetPaddleAngle(BoatEntity entity, int sigma, ModelPart part, float angle) Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
renderMethods 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 official aLepm;a:Ljava/lang/String;intermediary field_32458Lnet/minecraft/class_554;field_32458:Ljava/lang/String;named LEFT_PADDLELnet/minecraft/client/render/entity/model/BoatEntityModel;LEFT_PADDLE: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 official bLepm;b:Ljava/lang/String;intermediary field_32459Lnet/minecraft/class_554;field_32459:Ljava/lang/String;named RIGHT_PADDLELnet/minecraft/client/render/entity/model/BoatEntityModel;RIGHT_PADDLE: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 official fLepm;f:Ljava/lang/String;intermediary field_32460Lnet/minecraft/class_554;field_32460:Ljava/lang/String;named WATER_PATCHLnet/minecraft/client/render/entity/model/BoatEntityModel;WATER_PATCH:Ljava/lang/String;
-
BOTTOM
The key of the bottom model part, whose value is "bottom".- See Also:
- Mappings:
Namespace Name Mixin selector official gLepm;g:Ljava/lang/String;intermediary field_32461Lnet/minecraft/class_554;field_32461:Ljava/lang/String;named BOTTOMLnet/minecraft/client/render/entity/model/BoatEntityModel;BOTTOM:Ljava/lang/String;
-
BACK
The key of the back model part, whose value is "back".- See Also:
- Mappings:
Namespace Name Mixin selector official hLepm;h:Ljava/lang/String;intermediary field_32462Lnet/minecraft/class_554;field_32462:Ljava/lang/String;named BACKLnet/minecraft/client/render/entity/model/BoatEntityModel;BACK:Ljava/lang/String;
-
FRONT
The key of the front model part, whose value is "front".- See Also:
- Mappings:
Namespace Name Mixin selector official iLepm;i:Ljava/lang/String;intermediary field_32463Lnet/minecraft/class_554;field_32463:Ljava/lang/String;named FRONTLnet/minecraft/client/render/entity/model/BoatEntityModel;FRONT:Ljava/lang/String;
-
RIGHT
The key of the right model part, whose value is "right".- See Also:
- Mappings:
Namespace Name Mixin selector official jLepm;j:Ljava/lang/String;intermediary field_32464Lnet/minecraft/class_554;field_32464:Ljava/lang/String;named RIGHTLnet/minecraft/client/render/entity/model/BoatEntityModel;RIGHT:Ljava/lang/String;
-
LEFT
The key of the left model part, whose value is "left".- See Also:
- Mappings:
Namespace Name Mixin selector official kLepm;k:Ljava/lang/String;intermediary field_32465Lnet/minecraft/class_554;field_32465:Ljava/lang/String;named LEFTLnet/minecraft/client/render/entity/model/BoatEntityModel;LEFT:Ljava/lang/String;
-
CHEST_BOTTOM
The key of the chest bottom model part, whose value is "chest_bottom".- See Also:
- Mappings:
Namespace Name Mixin selector official lLepm;l:Ljava/lang/String;intermediary field_38312Lnet/minecraft/class_554;field_38312:Ljava/lang/String;named CHEST_BOTTOMLnet/minecraft/client/render/entity/model/BoatEntityModel;CHEST_BOTTOM:Ljava/lang/String;
-
CHEST_LID
The key of the chest lid model part, whose value is "chest_lid".- See Also:
- Mappings:
Namespace Name Mixin selector official mLepm;m:Ljava/lang/String;intermediary field_38313Lnet/minecraft/class_554;field_38313:Ljava/lang/String;named CHEST_LIDLnet/minecraft/client/render/entity/model/BoatEntityModel;CHEST_LID:Ljava/lang/String;
-
CHEST_LOCK
The key of the chest lock model part, whose value is "chest_lock".- See Also:
- Mappings:
Namespace Name Mixin selector official nLepm;n:Ljava/lang/String;intermediary field_38314Lnet/minecraft/class_554;field_38314:Ljava/lang/String;named CHEST_LOCKLnet/minecraft/client/render/entity/model/BoatEntityModel;CHEST_LOCK:Ljava/lang/String;
-
leftPaddle
- Mappings:
Namespace Name Mixin selector official oLepm;o:Lesv;intermediary field_27396Lnet/minecraft/class_554;field_27396:Lnet/minecraft/class_630;named leftPaddleLnet/minecraft/client/render/entity/model/BoatEntityModel;leftPaddle:Lnet/minecraft/client/model/ModelPart;
-
rightPaddle
- Mappings:
Namespace Name Mixin selector official pLepm;p:Lesv;intermediary field_27397Lnet/minecraft/class_554;field_27397:Lnet/minecraft/class_630;named rightPaddleLnet/minecraft/client/render/entity/model/BoatEntityModel;rightPaddle:Lnet/minecraft/client/model/ModelPart;
-
waterPatch
- Mappings:
Namespace Name Mixin selector official qLepm;q:Lesv;intermediary field_3326Lnet/minecraft/class_554;field_3326:Lnet/minecraft/class_630;named waterPatchLnet/minecraft/client/render/entity/model/BoatEntityModel;waterPatch:Lnet/minecraft/client/model/ModelPart;
-
parts
- Mappings:
Namespace Name Mixin selector official rLepm;r:Lcom/google/common/collect/ImmutableList;intermediary field_20922Lnet/minecraft/class_554;field_20922:Lcom/google/common/collect/ImmutableList;named partsLnet/minecraft/client/render/entity/model/BoatEntityModel;parts:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
BoatEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Lepm;<init>(Lesv;Z)Vintermediary <init>Lnet/minecraft/class_554;<init>(Lnet/minecraft/class_630;Z)Vnamed <init>Lnet/minecraft/client/render/entity/model/BoatEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Z)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official aLepm;a(Z)Letb;intermediary method_31985Lnet/minecraft/class_554;method_31985(Z)Lnet/minecraft/class_5607;named getTexturedModelDataLnet/minecraft/client/render/entity/model/BoatEntityModel;getTexturedModelData(Z)Lnet/minecraft/client/model/TexturedModelData;
-
setAngles
public void setAngles(BoatEntity boatEntity, float float2, float float3, float float4, float float5, float float6) - Specified by:
setAnglesin classEntityModel<BoatEntity>- Mappings:
Namespace Name Mixin selector official aLepm;a(Lbuy;FFFFF)Vintermediary method_22952Lnet/minecraft/class_554;method_22952(Lnet/minecraft/class_1690;FFFFF)Vnamed setAnglesLnet/minecraft/client/render/entity/model/BoatEntityModel;setAngles(Lnet/minecraft/entity/vehicle/BoatEntity;FFFFF)V
-
getParts
- Specified by:
getPartsin classCompositeEntityModel<BoatEntity>- Mappings:
Namespace Name Mixin selector official aLepm;a()Lcom/google/common/collect/ImmutableList;intermediary method_22953Lnet/minecraft/class_554;method_22953()Lcom/google/common/collect/ImmutableList;named getPartsLnet/minecraft/client/render/entity/model/BoatEntityModel;getParts()Lcom/google/common/collect/ImmutableList;
-
getWaterPatch
- Mappings:
Namespace Name Mixin selector official bLepm;b()Lesv;intermediary method_22954Lnet/minecraft/class_554;method_22954()Lnet/minecraft/class_630;named getWaterPatchLnet/minecraft/client/render/entity/model/BoatEntityModel;getWaterPatch()Lnet/minecraft/client/model/ModelPart;
-
setPaddleAngle
- Mappings:
Namespace Name Mixin selector official aLepm;a(Lbuy;ILesv;F)Vintermediary method_2797Lnet/minecraft/class_554;method_2797(Lnet/minecraft/class_1690;ILnet/minecraft/class_630;F)Vnamed setPaddleAngleLnet/minecraft/client/render/entity/model/BoatEntityModel;setPaddleAngle(Lnet/minecraft/entity/vehicle/BoatEntity;ILnet/minecraft/client/model/ModelPart;F)V
-