Class TurtleEntityModel<T extends TurtleEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.QuadrupedEntityModel<T>
net.minecraft.client.render.entity.model.TurtleEntityModel<T>
@Environment(CLIENT) public class TurtleEntityModel<T extends TurtleEntity> extends QuadrupedEntityModel<T>
-
Field Summary
Fields Modifier and Type Field Description private ModelPartplastronThe belly side of the turtle's shell.Fields inherited from class net.minecraft.client.render.entity.model.QuadrupedEntityModel
backLeftLeg, backRightLeg, frontLeftLeg, frontRightLeg, head, torsoFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth -
Constructor Summary
Constructors Constructor Description TurtleEntityModel(float scale) -
Method Summary
Modifier and Type Method Description protected Iterable<ModelPart>getBodyParts()voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)voidsetAngles(T t, float float2, float float3, float float4, float float5, float float6)Methods inherited from class net.minecraft.client.render.entity.model.QuadrupedEntityModel
getHeadPartsMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
plastron
The belly side of the turtle's shell.
-
-
Constructor Details
-
TurtleEntityModel
public TurtleEntityModel(float scale)
-
-
Method Details
-
getBodyParts
- Overrides:
getBodyPartsin classQuadrupedEntityModel<T extends TurtleEntity>
-
setAngles
- Overrides:
setAnglesin classQuadrupedEntityModel<T extends TurtleEntity>
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)- Overrides:
renderin classAnimalModel<T extends TurtleEntity>
-