Package net.minecraft.client.model
Class RabbitModel<T extends Rabbit>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.RabbitModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPart
The Rabbit's Bodyprivate static final float
private final ModelPart
The Rabbit's Headprivate float
private static final String
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private static final float
private final ModelPart
The Rabbit's Noseprivate static final float
private static final String
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
The Rabbit's TailFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
void
prepareMobModel
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) void
renderToBuffer
(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) void
setupAnim
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
REAR_JUMP_ANGLE
private static final float REAR_JUMP_ANGLE- See Also:
-
FRONT_JUMP_ANGLE
private static final float FRONT_JUMP_ANGLE- See Also:
-
LEFT_HAUNCH
- See Also:
-
RIGHT_HAUNCH
- See Also:
-
leftRearFoot
-
rightRearFoot
-
leftHaunch
-
rightHaunch
-
body
The Rabbit's Body -
leftFrontLeg
-
rightFrontLeg
-
head
The Rabbit's Head -
rightEar
-
leftEar
-
tail
The Rabbit's Tail -
nose
The Rabbit's Nose -
jumpRotation
private float jumpRotation -
NEW_SCALE
private static final float NEW_SCALE- See Also:
-
-
Constructor Details
-
RabbitModel
-
-
Method Details
-
createBodyLayer
-
renderToBuffer
public void renderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) - Specified by:
renderToBuffer
in classModel
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<T extends Rabbit>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModel
in classEntityModel<T extends Rabbit>
-