Class BoatEntityModel


@Environment(CLIENT) public class BoatEntityModel extends CompositeEntityModel<BoatEntity>
Represents the model of a BoatEntity.
Model parts of this model
Part NameParentCorresponding Field
"bottom"Root part
"back"Root part
"front"Root part
"right"Root part
"left"Root part
"left_paddle"Root partleftPaddle
"right_paddle"Root partrightPaddle
"water_patch"Root partwaterPatch
Mappings:
Namespace Name
official epm
intermediary net/minecraft/class_554
named net/minecraft/client/render/entity/model/BoatEntityModel
  • Field Details

    • LEFT_PADDLE

      private static final String LEFT_PADDLE
      The key of the left paddle model part, whose value is "left_paddle".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a:Ljava/lang/String;
      intermediary field_32458 Lnet/minecraft/class_554;field_32458:Ljava/lang/String;
      named LEFT_PADDLE Lnet/minecraft/client/render/entity/model/BoatEntityModel;LEFT_PADDLE:Ljava/lang/String;
    • RIGHT_PADDLE

      private static final String RIGHT_PADDLE
      The key of the right paddle model part, whose value is "right_paddle".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lepm;b:Ljava/lang/String;
      intermediary field_32459 Lnet/minecraft/class_554;field_32459:Ljava/lang/String;
      named RIGHT_PADDLE Lnet/minecraft/client/render/entity/model/BoatEntityModel;RIGHT_PADDLE:Ljava/lang/String;
    • WATER_PATCH

      private static final String WATER_PATCH
      The key of the water patch model part, whose value is "water_patch".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lepm;f:Ljava/lang/String;
      intermediary field_32460 Lnet/minecraft/class_554;field_32460:Ljava/lang/String;
      named WATER_PATCH Lnet/minecraft/client/render/entity/model/BoatEntityModel;WATER_PATCH:Ljava/lang/String;
    • BOTTOM

      private static final String BOTTOM
      The key of the bottom model part, whose value is "bottom".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lepm;g:Ljava/lang/String;
      intermediary field_32461 Lnet/minecraft/class_554;field_32461:Ljava/lang/String;
      named BOTTOM Lnet/minecraft/client/render/entity/model/BoatEntityModel;BOTTOM:Ljava/lang/String;
    • BACK

      private static final String BACK
      The key of the back model part, whose value is "back".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lepm;h:Ljava/lang/String;
      intermediary field_32462 Lnet/minecraft/class_554;field_32462:Ljava/lang/String;
      named BACK Lnet/minecraft/client/render/entity/model/BoatEntityModel;BACK:Ljava/lang/String;
    • FRONT

      private static final String FRONT
      The key of the front model part, whose value is "front".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lepm;i:Ljava/lang/String;
      intermediary field_32463 Lnet/minecraft/class_554;field_32463:Ljava/lang/String;
      named FRONT Lnet/minecraft/client/render/entity/model/BoatEntityModel;FRONT:Ljava/lang/String;
    • LEFT

      private static final String LEFT
      The key of the left model part, whose value is "left".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lepm;k:Ljava/lang/String;
      intermediary field_32465 Lnet/minecraft/class_554;field_32465:Ljava/lang/String;
      named LEFT Lnet/minecraft/client/render/entity/model/BoatEntityModel;LEFT:Ljava/lang/String;
    • CHEST_BOTTOM

      private static final String CHEST_BOTTOM
      The key of the chest bottom model part, whose value is "chest_bottom".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lepm;l:Ljava/lang/String;
      intermediary field_38312 Lnet/minecraft/class_554;field_38312:Ljava/lang/String;
      named CHEST_BOTTOM Lnet/minecraft/client/render/entity/model/BoatEntityModel;CHEST_BOTTOM:Ljava/lang/String;
    • CHEST_LID

      private static final String CHEST_LID
      The key of the chest lid model part, whose value is "chest_lid".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lepm;m:Ljava/lang/String;
      intermediary field_38313 Lnet/minecraft/class_554;field_38313:Ljava/lang/String;
      named CHEST_LID Lnet/minecraft/client/render/entity/model/BoatEntityModel;CHEST_LID:Ljava/lang/String;
    • CHEST_LOCK

      private static final String CHEST_LOCK
      The key of the chest lock model part, whose value is "chest_lock".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lepm;n:Ljava/lang/String;
      intermediary field_38314 Lnet/minecraft/class_554;field_38314:Ljava/lang/String;
      named CHEST_LOCK Lnet/minecraft/client/render/entity/model/BoatEntityModel;CHEST_LOCK:Ljava/lang/String;
    • leftPaddle

      private final ModelPart leftPaddle
      Mappings:
      Namespace Name Mixin selector
      official o Lepm;o:Lesv;
      intermediary field_27396 Lnet/minecraft/class_554;field_27396:Lnet/minecraft/class_630;
      named leftPaddle Lnet/minecraft/client/render/entity/model/BoatEntityModel;leftPaddle:Lnet/minecraft/client/model/ModelPart;
    • rightPaddle

      private final ModelPart rightPaddle
      Mappings:
      Namespace Name Mixin selector
      official p Lepm;p:Lesv;
      intermediary field_27397 Lnet/minecraft/class_554;field_27397:Lnet/minecraft/class_630;
      named rightPaddle Lnet/minecraft/client/render/entity/model/BoatEntityModel;rightPaddle:Lnet/minecraft/client/model/ModelPart;
    • waterPatch

      private final ModelPart waterPatch
      Mappings:
      Namespace Name Mixin selector
      official q Lepm;q:Lesv;
      intermediary field_3326 Lnet/minecraft/class_554;field_3326:Lnet/minecraft/class_630;
      named waterPatch Lnet/minecraft/client/render/entity/model/BoatEntityModel;waterPatch:Lnet/minecraft/client/model/ModelPart;
    • parts

      private final ImmutableList<ModelPart> parts
      Mappings:
      Namespace Name Mixin selector
      official r Lepm;r:Lcom/google/common/collect/ImmutableList;
      intermediary field_20922 Lnet/minecraft/class_554;field_20922:Lcom/google/common/collect/ImmutableList;
      named parts Lnet/minecraft/client/render/entity/model/BoatEntityModel;parts:Lcom/google/common/collect/ImmutableList;
  • Constructor Details

    • BoatEntityModel

      public BoatEntityModel(ModelPart root, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lepm;<init>(Lesv;Z)V
      intermediary <init> Lnet/minecraft/class_554;<init>(Lnet/minecraft/class_630;Z)V
      named <init> Lnet/minecraft/client/render/entity/model/BoatEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Z)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData(boolean chest)
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a(Z)Letb;
      intermediary method_31985 Lnet/minecraft/class_554;method_31985(Z)Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/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:
      setAngles in class EntityModel<BoatEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a(Lbuy;FFFFF)V
      intermediary method_22952 Lnet/minecraft/class_554;method_22952(Lnet/minecraft/class_1690;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/BoatEntityModel;setAngles(Lnet/minecraft/entity/vehicle/BoatEntity;FFFFF)V
    • getParts

      public ImmutableList<ModelPart> getParts()
      Specified by:
      getParts in class CompositeEntityModel<BoatEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a()Lcom/google/common/collect/ImmutableList;
      intermediary method_22953 Lnet/minecraft/class_554;method_22953()Lcom/google/common/collect/ImmutableList;
      named getParts Lnet/minecraft/client/render/entity/model/BoatEntityModel;getParts()Lcom/google/common/collect/ImmutableList;
    • getWaterPatch

      public ModelPart getWaterPatch()
      Mappings:
      Namespace Name Mixin selector
      official b Lepm;b()Lesv;
      intermediary method_22954 Lnet/minecraft/class_554;method_22954()Lnet/minecraft/class_630;
      named getWaterPatch Lnet/minecraft/client/render/entity/model/BoatEntityModel;getWaterPatch()Lnet/minecraft/client/model/ModelPart;
    • setPaddleAngle

      private static void setPaddleAngle(BoatEntity entity, int sigma, ModelPart part, float angle)
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a(Lbuy;ILesv;F)V
      intermediary method_2797 Lnet/minecraft/class_554;method_2797(Lnet/minecraft/class_1690;ILnet/minecraft/class_630;F)V
      named setPaddleAngle Lnet/minecraft/client/render/entity/model/BoatEntityModel;setPaddleAngle(Lnet/minecraft/entity/vehicle/BoatEntity;ILnet/minecraft/client/model/ModelPart;F)V