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
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final String
private final ModelPart
private static final float
private static final String
private final ModelPart[]
private final ModelPart
private static final String
private final ModelPart[]
private static final float
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
applyHeadRotation
(T p_250436_, float p_249176_, float p_251814_, float p_248796_) static LayerDefinition
void
renderToBuffer
(PoseStack p_250278_, VertexConsumer p_251678_, int p_249298_, int p_251841_, float p_250541_, float p_248890_, float p_250527_, float p_250536_) root()
void
setupAnim
(T p_250657_, float p_250501_, float p_249554_, float p_249527_, float p_248774_, float p_250710_) private void
toggleInvisibleParts
(T p_251765_) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithName
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
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 p_250657_, float p_250501_, float p_249554_, float p_249527_, float p_248774_, float p_250710_) - Specified by:
setupAnim
in classEntityModel<T extends Camel>
-
applyHeadRotation
-
toggleInvisibleParts
-
renderToBuffer
public void renderToBuffer(PoseStack p_250278_, VertexConsumer p_251678_, int p_249298_, int p_251841_, float p_250541_, float p_248890_, float p_250527_, float p_250536_) - Overrides:
renderToBuffer
in classHierarchicalModel<T extends Camel>
-
root
- Specified by:
root
in classHierarchicalModel<T extends Camel>
-