Class OcelotEntityModel<T extends Entity>

Direct Known Subclasses:
CatEntityModel

@Environment(CLIENT) public class OcelotEntityModel<T extends Entity> extends AnimalModel<T>
Represents the model of an ocelot-like entity.
Model parts of this model
Part NameParentCorresponding Field
"head"Root parthead
"body"Root partbody
"tail1"Root partupperTail
"tail2"Root partlowerTail
"right_hind_leg"Root partrightHindLeg
"left_hind_leg"Root partleftHindLeg
"right_front_leg"Root partrightFrontLeg
"left_front_leg"Root partleftFrontLeg
Mappings:
Namespace Name
official ewh
intermediary net/minecraft/class_582
named net/minecraft/client/render/entity/model/OcelotEntityModel
  • Field Details

    • SNEAKING_ANIMATION_STATE

      private static final int SNEAKING_ANIMATION_STATE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official q Lewh;q:I
      intermediary field_32524 Lnet/minecraft/class_582;field_32524:I
      named SNEAKING_ANIMATION_STATE Lnet/minecraft/client/render/entity/model/OcelotEntityModel;SNEAKING_ANIMATION_STATE:I
    • STANDING_ANIMATION_STATE

      private static final int STANDING_ANIMATION_STATE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lewh;r:I
      intermediary field_32525 Lnet/minecraft/class_582;field_32525:I
      named STANDING_ANIMATION_STATE Lnet/minecraft/client/render/entity/model/OcelotEntityModel;STANDING_ANIMATION_STATE:I
    • SPRINTING_ANIMATION_STATE

      private static final int SPRINTING_ANIMATION_STATE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lewh;s:I
      intermediary field_32526 Lnet/minecraft/class_582;field_32526:I
      named SPRINTING_ANIMATION_STATE Lnet/minecraft/client/render/entity/model/OcelotEntityModel;SPRINTING_ANIMATION_STATE:I
    • SITTING_ANIMATION_STATE

      protected static final int SITTING_ANIMATION_STATE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lewh;a:I
      intermediary field_32520 Lnet/minecraft/class_582;field_32520:I
      named SITTING_ANIMATION_STATE Lnet/minecraft/client/render/entity/model/OcelotEntityModel;SITTING_ANIMATION_STATE:I
    • field_32527

      private static final float field_32527
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lewh;t:F
      intermediary field_32527 Lnet/minecraft/class_582;field_32527:F
      named field_32527 Lnet/minecraft/client/render/entity/model/OcelotEntityModel;field_32527:F
    • BODY_SIZE_Y

      private static final float BODY_SIZE_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lewh;v:F
      intermediary field_32528 Lnet/minecraft/class_582;field_32528:F
      named BODY_SIZE_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;BODY_SIZE_Y:F
    • field_32529

      private static final float field_32529
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lewh;w:F
      intermediary field_32529 Lnet/minecraft/class_582;field_32529:F
      named field_32529 Lnet/minecraft/client/render/entity/model/OcelotEntityModel;field_32529:F
    • HEAD_PIVOT_Y

      private static final float HEAD_PIVOT_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Lewh;x:F
      intermediary field_32530 Lnet/minecraft/class_582;field_32530:F
      named HEAD_PIVOT_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;HEAD_PIVOT_Y:F
    • HEAD_PIVOT_Z

      private static final float HEAD_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Lewh;y:F
      intermediary field_32531 Lnet/minecraft/class_582;field_32531:F
      named HEAD_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;HEAD_PIVOT_Z:F
    • BODY_PIVOT_Y

      private static final float BODY_PIVOT_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lewh;z:F
      intermediary field_32532 Lnet/minecraft/class_582;field_32532:F
      named BODY_PIVOT_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;BODY_PIVOT_Y:F
    • BODY_PIVOT_Z

      private static final float BODY_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official A Lewh;A:F
      intermediary field_32512 Lnet/minecraft/class_582;field_32512:F
      named BODY_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;BODY_PIVOT_Z:F
    • UPPER_TAIL_PIVOT_Y

      private static final float UPPER_TAIL_PIVOT_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official B Lewh;B:F
      intermediary field_32513 Lnet/minecraft/class_582;field_32513:F
      named UPPER_TAIL_PIVOT_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;UPPER_TAIL_PIVOT_Y:F
    • UPPER_TAIL_PIVOT_Z

      private static final float UPPER_TAIL_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official C Lewh;C:F
      intermediary field_32514 Lnet/minecraft/class_582;field_32514:F
      named UPPER_TAIL_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;UPPER_TAIL_PIVOT_Z:F
    • LOWER_TAIL_PIVOT_Y

      private static final float LOWER_TAIL_PIVOT_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lewh;D:F
      intermediary field_32515 Lnet/minecraft/class_582;field_32515:F
      named LOWER_TAIL_PIVOT_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;LOWER_TAIL_PIVOT_Y:F
    • LOWER_TAIL_PIVOT_Z

      private static final float LOWER_TAIL_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E Lewh;E:F
      intermediary field_32516 Lnet/minecraft/class_582;field_32516:F
      named LOWER_TAIL_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;LOWER_TAIL_PIVOT_Z:F
    • HIND_LEG_PIVOT_Y

      protected static final float HIND_LEG_PIVOT_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lewh;b:F
      intermediary field_32521 Lnet/minecraft/class_582;field_32521:F
      named HIND_LEG_PIVOT_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;HIND_LEG_PIVOT_Y:F
    • HIND_LEG_PIVOT_Z

      protected static final float HIND_LEG_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lewh;f:F
      intermediary field_32522 Lnet/minecraft/class_582;field_32522:F
      named HIND_LEG_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;HIND_LEG_PIVOT_Z:F
    • FRONT_LEG_PIVOT_Y

      protected static final float FRONT_LEG_PIVOT_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lewh;g:F
      intermediary field_32523 Lnet/minecraft/class_582;field_32523:F
      named FRONT_LEG_PIVOT_Y Lnet/minecraft/client/render/entity/model/OcelotEntityModel;FRONT_LEG_PIVOT_Y:F
    • FRONT_LEG_PIVOT_Z

      private static final float FRONT_LEG_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official F Lewh;F:F
      intermediary field_32517 Lnet/minecraft/class_582;field_32517:F
      named FRONT_LEG_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;FRONT_LEG_PIVOT_Z:F
    • TAIL1

      private static final String TAIL1
      The key of the upper tail model part, whose value is "tail1".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official G Lewh;G:Ljava/lang/String;
      intermediary field_32518 Lnet/minecraft/class_582;field_32518:Ljava/lang/String;
      named TAIL1 Lnet/minecraft/client/render/entity/model/OcelotEntityModel;TAIL1:Ljava/lang/String;
    • TAIL2

      private static final String TAIL2
      The key of the lower tail model part, whose value is "tail2".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official H Lewh;H:Ljava/lang/String;
      intermediary field_32519 Lnet/minecraft/class_582;field_32519:Ljava/lang/String;
      named TAIL2 Lnet/minecraft/client/render/entity/model/OcelotEntityModel;TAIL2:Ljava/lang/String;
    • leftHindLeg

      protected final ModelPart leftHindLeg
      Mappings:
      Namespace Name Mixin selector
      official h Lewh;h:Leyh;
      intermediary field_27454 Lnet/minecraft/class_582;field_27454:Lnet/minecraft/class_630;
      named leftHindLeg Lnet/minecraft/client/render/entity/model/OcelotEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
    • rightHindLeg

      protected final ModelPart rightHindLeg
      Mappings:
      Namespace Name Mixin selector
      official i Lewh;i:Leyh;
      intermediary field_27455 Lnet/minecraft/class_582;field_27455:Lnet/minecraft/class_630;
      named rightHindLeg Lnet/minecraft/client/render/entity/model/OcelotEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
    • leftFrontLeg

      protected final ModelPart leftFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official j Lewh;j:Leyh;
      intermediary field_27456 Lnet/minecraft/class_582;field_27456:Lnet/minecraft/class_630;
      named leftFrontLeg Lnet/minecraft/client/render/entity/model/OcelotEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
    • rightFrontLeg

      protected final ModelPart rightFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official k Lewh;k:Leyh;
      intermediary field_27457 Lnet/minecraft/class_582;field_27457:Lnet/minecraft/class_630;
      named rightFrontLeg Lnet/minecraft/client/render/entity/model/OcelotEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
    • upperTail

      protected final ModelPart upperTail
      Mappings:
      Namespace Name Mixin selector
      official l Lewh;l:Leyh;
      intermediary field_3436 Lnet/minecraft/class_582;field_3436:Lnet/minecraft/class_630;
      named upperTail Lnet/minecraft/client/render/entity/model/OcelotEntityModel;upperTail:Lnet/minecraft/client/model/ModelPart;
    • lowerTail

      protected final ModelPart lowerTail
      Mappings:
      Namespace Name Mixin selector
      official m Lewh;m:Leyh;
      intermediary field_3442 Lnet/minecraft/class_582;field_3442:Lnet/minecraft/class_630;
      named lowerTail Lnet/minecraft/client/render/entity/model/OcelotEntityModel;lowerTail:Lnet/minecraft/client/model/ModelPart;
    • body

      protected final ModelPart body
      Mappings:
      Namespace Name Mixin selector
      official o Lewh;o:Leyh;
      intermediary field_3437 Lnet/minecraft/class_582;field_3437:Lnet/minecraft/class_630;
      named body Lnet/minecraft/client/render/entity/model/OcelotEntityModel;body:Lnet/minecraft/client/model/ModelPart;
    • animationState

      protected int animationState
      Mappings:
      Namespace Name Mixin selector
      official p Lewh;p:I
      intermediary field_3434 Lnet/minecraft/class_582;field_3434:I
      named animationState Lnet/minecraft/client/render/entity/model/OcelotEntityModel;animationState:I
  • Constructor Details

    • OcelotEntityModel

      public OcelotEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lewh;<init>(Leyh;)V
      intermediary <init> Lnet/minecraft/class_582;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/OcelotEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getModelData

      public static ModelData getModelData(Dilation dilation)
      Mappings:
      Namespace Name Mixin selector
      official a Lewh;a(Leyl;)Leyp;
      intermediary method_32021 Lnet/minecraft/class_582;method_32021(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
      named getModelData Lnet/minecraft/client/render/entity/model/OcelotEntityModel;getModelData(Lnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelData;
    • getHeadParts

      protected Iterable<ModelPart> getHeadParts()
      Specified by:
      getHeadParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Leui;a()Ljava/lang/Iterable;
      intermediary method_22946 Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;
      named getHeadParts Lnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
    • getBodyParts

      protected Iterable<ModelPart> getBodyParts()
      Specified by:
      getBodyParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official b Leui;b()Ljava/lang/Iterable;
      intermediary method_22948 Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
      named getBodyParts Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
    • setAngles

      public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
      Specified by:
      setAngles in class EntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Levk;a(Lbdr;FFFFF)V
      intermediary method_2819 Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
    • animateModel

      public void animateModel(T entity, float limbAngle, float limbDistance, float tickDelta)
      Overrides:
      animateModel in class EntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Levk;a(Lbdr;FFF)V
      intermediary method_2816 Lnet/minecraft/class_583;method_2816(Lnet/minecraft/class_1297;FFF)V
      named animateModel Lnet/minecraft/client/render/entity/model/EntityModel;animateModel(Lnet/minecraft/entity/Entity;FFF)V