Class RabbitEntityModel<T extends RabbitEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.RabbitEntityModel<T>
Represents the model of a RabbitEntity.
Part Name | Parent | Corresponding Field |
---|---|---|
"left_hind_foot" | Root part | leftHindLeg |
"right_hind_foot" | Root part | rightHindLeg |
"left_haunch" | Root part | leftHaunch |
"right_haunch" | Root part | rightHaunch |
"body" | Root part | body |
"left_front_leg" | Root part | leftFrontLeg |
"right_front_leg" | Root part | rightFrontLeg |
"head" | Root part | head |
"right_ear" | Root part | rightEar |
"left_ear" | Root part | leftEar |
"tail" | Root part | tail |
"nose" | Root part | nose |
- Mappings:
Namespace Name official eiy
intermediary net/minecraft/class_596
named net/minecraft/client/render/entity/model/RabbitEntityModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private static final float
private static final float
private final ModelPart
private float
private static final String
The key of the left haunch model part, whose value is "left_haunch".private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private static final String
The key of the right haunch model part, whose value is "right_haunch".private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private static final float
private 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 t, float float2, float float3, float float4) static TexturedModelData
void
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
HAUNCH_JUMP_PITCH_MULTIPLIER
private static final float HAUNCH_JUMP_PITCH_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leiy;a:F
intermediary field_32542
Lnet/minecraft/class_596;field_32542:F
named HAUNCH_JUMP_PITCH_MULTIPLIER
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;HAUNCH_JUMP_PITCH_MULTIPLIER:F
-
FRONT_LEGS_JUMP_PITCH_MULTIPLIER
private static final float FRONT_LEGS_JUMP_PITCH_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official b
Leiy;b:F
intermediary field_32543
Lnet/minecraft/class_596;field_32543:F
named FRONT_LEGS_JUMP_PITCH_MULTIPLIER
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;FRONT_LEGS_JUMP_PITCH_MULTIPLIER:F
-
LEFT_HAUNCH
The key of the left haunch model part, whose value is "left_haunch".- See Also:
- Mappings:
Namespace Name Mixin selector official f
Leiy;f:Ljava/lang/String;
intermediary field_32544
Lnet/minecraft/class_596;field_32544:Ljava/lang/String;
named LEFT_HAUNCH
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;LEFT_HAUNCH:Ljava/lang/String;
-
RIGHT_HAUNCH
The key of the right haunch model part, whose value is "right_haunch".- See Also:
- Mappings:
Namespace Name Mixin selector official g
Leiy;g:Ljava/lang/String;
intermediary field_32545
Lnet/minecraft/class_596;field_32545:Ljava/lang/String;
named RIGHT_HAUNCH
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;RIGHT_HAUNCH:Ljava/lang/String;
-
SCALE
private static final float SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official v
Leiy;v:F
intermediary field_32546
Lnet/minecraft/class_596;field_32546:F
named SCALE
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;SCALE:F
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector official h
Leiy;h:Lekh;
intermediary field_27480
Lnet/minecraft/class_596;field_27480:Lnet/minecraft/class_630;
named leftHindLeg
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector official i
Leiy;i:Lekh;
intermediary field_27481
Lnet/minecraft/class_596;field_27481:Lnet/minecraft/class_630;
named rightHindLeg
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
-
leftHaunch
- Mappings:
Namespace Name Mixin selector official j
Leiy;j:Lekh;
intermediary field_27482
Lnet/minecraft/class_596;field_27482:Lnet/minecraft/class_630;
named leftHaunch
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftHaunch:Lnet/minecraft/client/model/ModelPart;
-
rightHaunch
- Mappings:
Namespace Name Mixin selector official k
Leiy;k:Lekh;
intermediary field_27483
Lnet/minecraft/class_596;field_27483:Lnet/minecraft/class_630;
named rightHaunch
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightHaunch:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official l
Leiy;l:Lekh;
intermediary field_3528
Lnet/minecraft/class_596;field_3528:Lnet/minecraft/class_630;
named body
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector official m
Leiy;m:Lekh;
intermediary field_27484
Lnet/minecraft/class_596;field_27484:Lnet/minecraft/class_630;
named leftFrontLeg
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector official n
Leiy;n:Lekh;
intermediary field_27485
Lnet/minecraft/class_596;field_27485:Lnet/minecraft/class_630;
named rightFrontLeg
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
head
- Mappings:
Namespace Name Mixin selector official o
Leiy;o:Lekh;
intermediary field_27486
Lnet/minecraft/class_596;field_27486:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
rightEar
- Mappings:
Namespace Name Mixin selector official p
Leiy;p:Lekh;
intermediary field_27487
Lnet/minecraft/class_596;field_27487:Lnet/minecraft/class_630;
named rightEar
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
-
leftEar
- Mappings:
Namespace Name Mixin selector official q
Leiy;q:Lekh;
intermediary field_27488
Lnet/minecraft/class_596;field_27488:Lnet/minecraft/class_630;
named leftEar
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
-
tail
- Mappings:
Namespace Name Mixin selector official r
Leiy;r:Lekh;
intermediary field_3524
Lnet/minecraft/class_596;field_3524:Lnet/minecraft/class_630;
named tail
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;tail:Lnet/minecraft/client/model/ModelPart;
-
nose
- Mappings:
Namespace Name Mixin selector official t
Leiy;t:Lekh;
intermediary field_3530
Lnet/minecraft/class_596;field_3530:Lnet/minecraft/class_630;
named nose
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;nose:Lnet/minecraft/client/model/ModelPart;
-
jumpProgress
private float jumpProgress- Mappings:
Namespace Name Mixin selector official u
Leiy;u:F
intermediary field_3531
Lnet/minecraft/class_596;field_3531:F
named jumpProgress
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;jumpProgress:F
-
-
Constructor Details
-
RabbitEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Leiy;<init>(Lekh;)V
intermediary <init>
Lnet/minecraft/class_596;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Leiy;a()Lekn;
intermediary method_32034
Lnet/minecraft/class_596;method_32034()Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Specified by:
render
in classModel
- Parameters:
light
- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official a
Leik;a(Ldrw;Ldsa;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends RabbitEntity>
- Mappings:
Namespace Name Mixin selector official a
Leiy;a(Lbhw;FFFFF)V
intermediary method_17117
Lnet/minecraft/class_596;method_17117(Lnet/minecraft/class_1463;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;setAngles(Lnet/minecraft/entity/passive/RabbitEntity;FFFFF)V
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends RabbitEntity>
- Mappings:
Namespace Name Mixin selector official a
Leiy;a(Lbhw;FFF)V
intermediary method_17115
Lnet/minecraft/class_596;method_17115(Lnet/minecraft/class_1463;FFF)V
named animateModel
Lnet/minecraft/client/render/entity/model/RabbitEntityModel;animateModel(Lnet/minecraft/entity/passive/RabbitEntity;FFF)V
-