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 entity, float limbSwing, float limbSwingAmount, float partialTick) voidrenderToBuffer(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, int color) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) 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 poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBufferin classModel
-
setupAnim
public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<T extends Rabbit>
-
prepareMobModel
- Overrides:
prepareMobModelin classEntityModel<T extends Rabbit>
-