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>
- Mappings:
Namespace Name official ewcintermediary net/minecraft/class_614named net/minecraft/client/render/entity/model/TurtleEntityModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringThe key of the model part of the belly side of the turtle's shell, whose value is "egg_belly".private final ModelPartThe 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic TexturedModelDatavoidmethod_17125(T t, float float2, float float3, float float4, float float5, float float6) voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.Methods inherited from class net.minecraft.client.render.entity.model.QuadrupedEntityModel
getHeadParts, getModelData, setAnglesMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
EGG_BELLY
The key of the model part of the belly side of the turtle's shell, whose value is "egg_belly".- See Also:
- Mappings:
Namespace Name Mixin selector official jLewc;j:Ljava/lang/String;intermediary field_32570Lnet/minecraft/class_614;field_32570:Ljava/lang/String;named EGG_BELLYLnet/minecraft/client/render/entity/model/TurtleEntityModel;EGG_BELLY:Ljava/lang/String;
-
plastron
The belly side of the turtle's shell.- Mappings:
Namespace Name Mixin selector official kLewc;k:Lewt;intermediary field_3594Lnet/minecraft/class_614;field_3594:Lnet/minecraft/class_630;named plastronLnet/minecraft/client/render/entity/model/TurtleEntityModel;plastron:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
TurtleEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Lewc;<init>(Lewt;)Vintermediary <init>Lnet/minecraft/class_614;<init>(Lnet/minecraft/class_630;)Vnamed <init>Lnet/minecraft/client/render/entity/model/TurtleEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official cLewc;c()Lewz;intermediary method_32062Lnet/minecraft/class_614;method_32062()Lnet/minecraft/class_5607;named getTexturedModelDataLnet/minecraft/client/render/entity/model/TurtleEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
getBodyParts
- Overrides:
getBodyPartsin classQuadrupedEntityModel<T extends TurtleEntity>- Mappings:
Namespace Name Mixin selector official bLesv;b()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;named getBodyPartsLnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
-
method_17125
- Mappings:
Namespace Name Mixin selector official aLewc;a(Lbps;FFFFF)Vintermediary method_17125Lnet/minecraft/class_614;method_17125(Lnet/minecraft/class_1481;FFFFF)Vnamed method_17125Lnet/minecraft/client/render/entity/model/TurtleEntityModel;method_17125(Lnet/minecraft/entity/passive/TurtleEntity;FFFFF)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Overrides:
renderin classAnimalModel<T extends TurtleEntity>- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official aLeus;a(Ledd;Ledh;IIFFFF)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-