Class OcelotEntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.OcelotEntityModel<T>
- Direct Known Subclasses:
CatEntityModel
Represents the model of an ocelot-like entity.
Part Name | Parent | Corresponding Field |
---|---|---|
"head" | Root part | head |
"body" | Root part | body |
"tail1"<T extends Entity> | Root part | upperTail |
"tail2"<T extends Entity> | Root part | lowerTail |
"right_hind_leg" | Root part | rightHindLeg |
"left_hind_leg" | Root part | leftHindLeg |
"right_front_leg" | Root part | rightFrontLeg |
"left_front_leg" | Root part | leftFrontLeg |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/OcelotEntityModel
intermediary net/minecraft/class_582
official fwi
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected final ModelPart
private static final float
private static final float
private static final float
private static final float
private static final float
protected static final float
private static final float
protected final ModelPart
private static final float
private static final float
protected static final float
protected static final float
protected final ModelPart
protected final ModelPart
private static final float
private static final float
protected final ModelPart
protected final ModelPart
protected final ModelPart
protected static final int
private static final int
private static final int
private static final int
private static final String
The key of the upper tail model part, whose value is "tail1".private static final String
The key of the lower tail model part, whose value is "tail2".private static final float
private static final float
protected 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 TypeMethodDescriptionvoid
animateModel
(T entity, float limbAngle, float limbDistance, float tickDelta) static ModelData
getModelData
(Dilation dilation) void
setAngles
(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch) Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
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
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
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
- 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
- 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
- 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
- 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
- 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
- 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;
-
head
- Mappings:
Namespace Name Mixin selector named head
Lnet/minecraft/client/render/entity/model/OcelotEntityModel;head:Lnet/minecraft/client/model/ModelPart;
intermediary field_3435
Lnet/minecraft/class_582;field_3435:Lnet/minecraft/class_630;
official n
Lfwi;n:Lfyk;
-
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
- 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
- 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
- Specified by:
getHeadParts
in classAnimalModel<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
- Specified by:
getBodyParts
in classAnimalModel<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 classEntityModel<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
- Overrides:
animateModel
in classEntityModel<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
-