Class OcelotEntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
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" | Root part | upperTail |
"tail2" | 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 official fcd
intermediary net/minecraft/class_582
named net/minecraft/client/render/entity/model/OcelotEntityModel
-
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
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 official q
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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 u
Lfcd;u: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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
Lfcd;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
The key of the upper tail model part, whose value is "tail1".- See Also:
- Mappings:
Namespace Name Mixin selector official G
Lfcd;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
The key of the lower tail model part, whose value is "tail2".- See Also:
- Mappings:
Namespace Name Mixin selector official H
Lfcd;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
- Mappings:
Namespace Name Mixin selector official h
Lfcd;h:Lfee;
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
- Mappings:
Namespace Name Mixin selector official i
Lfcd;i:Lfee;
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
- Mappings:
Namespace Name Mixin selector official j
Lfcd;j:Lfee;
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
- Mappings:
Namespace Name Mixin selector official k
Lfcd;k:Lfee;
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
- Mappings:
Namespace Name Mixin selector official l
Lfcd;l:Lfee;
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
- Mappings:
Namespace Name Mixin selector official m
Lfcd;m:Lfee;
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;
-
head
- Mappings:
Namespace Name Mixin selector official n
Lfcd;n:Lfee;
intermediary field_3435
Lnet/minecraft/class_582;field_3435:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/OcelotEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official o
Lfcd;o:Lfee;
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
Lfcd;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
- Mappings:
Namespace Name Mixin selector official <init>
Lfcd;<init>(Lfee;)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
- Mappings:
Namespace Name Mixin selector official a
Lfcd;a(Lfei;)Lfem;
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
- Specified by:
getHeadParts
in classAnimalModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lfad;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
- Specified by:
getBodyParts
in classAnimalModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official b
Lfad;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 classEntityModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lfbf;a(Lbfj;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
- Overrides:
animateModel
in classEntityModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lfbf;a(Lbfj;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
-