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
body, head, leftFrontLeg, leftHindLeg, rightFrontLeg, rightHindLegFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description TurtleEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description protected Iterable<ModelPart>getBodyParts()static TexturedModelDatagetTexturedModelData()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
getHeadParts, getModelDataMethods 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
-
-
Method Details
-
getTexturedModelData
-
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>
-