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 ModelPartThe Rabbit's Bodyprivate static final floatprivate final ModelPartThe Rabbit's Headprivate floatprivate static final Stringprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate static final floatprivate final ModelPartThe Rabbit's Noseprivate static final floatprivate static final Stringprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartThe Rabbit's TailFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinitionvoidprepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) voidrenderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) voidsetupAnim(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
copyPropertiesToMethods 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:
renderToBufferin 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:
setupAnimin classEntityModel<T extends Rabbit>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModelin classEntityModel<T extends Rabbit>
-