Package net.minecraft.client.model
Class CamelModel<T extends Camel>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.minecraft.client.model.CamelModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatprivate static final Stringprivate final ModelPartprivate static final floatprivate static final Stringprivate final ModelPart[]private final ModelPartprivate static final Stringprivate final ModelPart[]private static final floatFields 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 TypeMethodDescriptionprivate voidapplyHeadRotation(T pEntity, float pNetHeadYaw, float pHeadPitch, float pAgeInTicks) static LayerDefinitionvoidrenderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) root()voidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesprivate voidtoggleInvisibleParts(T pEntity) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animate, animate, animateWalk, animateWalk, applyStatic, applyStatic, getAnimation, getAnyDescendantWithNameMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
MAX_WALK_ANIMATION_SPEED
private static final float MAX_WALK_ANIMATION_SPEED- See Also:
-
WALK_ANIMATION_SCALE_FACTOR
private static final float WALK_ANIMATION_SCALE_FACTOR- See Also:
-
BABY_SCALE
private static final float BABY_SCALE- See Also:
-
BABY_Y_OFFSET
private static final float BABY_Y_OFFSET- See Also:
-
SADDLE
- See Also:
-
BRIDLE
- See Also:
-
REINS
- See Also:
-
root
-
head
-
saddleParts
-
ridingParts
-
-
Constructor Details
-
CamelModel
-
-
Method Details
-
createBodyLayer
-
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 Camel>
-
applyHeadRotation
-
toggleInvisibleParts
-
renderToBuffer
public void renderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) - Overrides:
renderToBufferin classHierarchicalModel<T extends Camel>
-
root
- Specified by:
rootin classHierarchicalModel<T extends Camel>
-