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"<T extends Entity>Root partupperTail
"tail2"<T extends Entity>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
named net/minecraft/client/render/entity/model/OcelotEntityModel
intermediary net/minecraft/class_582
official fwi
  • Field Details

    • SNEAKING_ANIMATION_STATE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      private static final float FRONT_LEG_PIVOT_Z
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named FRONT_LEG_PIVOT_Z Lnet/minecraft/client/render/entity/model/OcelotEntityModel;FRONT_LEG_PIVOT_Z:F
      intermediary field_32517 Lnet/minecraft/class_582;field_32517:F
      official F Lfwi;F: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
      named TAIL1 Lnet/minecraft/client/render/entity/model/OcelotEntityModel;TAIL1:Ljava/lang/String;
      intermediary field_32518 Lnet/minecraft/class_582;field_32518:Ljava/lang/String;
      official G Lfwi;G: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
      named TAIL2 Lnet/minecraft/client/render/entity/model/OcelotEntityModel;TAIL2:Ljava/lang/String;
      intermediary field_32519 Lnet/minecraft/class_582;field_32519:Ljava/lang/String;
      official H Lfwi;H:Ljava/lang/String;
    • leftHindLeg

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

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

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

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

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

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

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

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

    • OcelotEntityModel

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

    • getModelData

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

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

      protected Iterable<ModelPart> getBodyParts()
      Specified by:
      getBodyParts in class AnimalModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      named getBodyParts Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
      intermediary method_22948 Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
      official b Lfuf;b()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
      named setAngles Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
      intermediary method_2819 Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
      official a Lfvk;a(Lbsr;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
      named animateModel Lnet/minecraft/client/render/entity/model/EntityModel;animateModel(Lnet/minecraft/entity/Entity;FFF)V
      intermediary method_2816 Lnet/minecraft/class_583;method_2816(Lnet/minecraft/class_1297;FFF)V
      official a Lfvk;a(Lbsr;FFF)V