Class TurtleEntityModel<T extends TurtleEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
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 named net/minecraft/client/render/entity/model/TurtleEntityModelintermediary net/minecraft/class_614official fxs
-
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 TexturedModelDatavoidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.voidMethods 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
-
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 named EGG_BELLYLnet/minecraft/client/render/entity/model/TurtleEntityModel;EGG_BELLY:Ljava/lang/String;intermediary field_32570Lnet/minecraft/class_614;field_32570:Ljava/lang/String;official jLfxs;j:Ljava/lang/String;
-
plastron
The belly side of the turtle's shell.- Mappings:
Namespace Name Mixin selector named plastronLnet/minecraft/client/render/entity/model/TurtleEntityModel;plastron:Lnet/minecraft/client/model/ModelPart;intermediary field_3594Lnet/minecraft/class_614;field_3594:Lnet/minecraft/class_630;official kLfxs;k:Lfyk;
-
-
Constructor Details
-
TurtleEntityModel
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/model/TurtleEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)Vintermediary <init>Lnet/minecraft/class_614;<init>(Lnet/minecraft/class_630;)Vofficial <init>Lfxs;<init>(Lfyk;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelDataLnet/minecraft/client/render/entity/model/TurtleEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;intermediary method_32062Lnet/minecraft/class_614;method_32062()Lnet/minecraft/class_5607;official cLfxs;c()Lfyq;
-
getBodyParts
- Overrides:
getBodyPartsin classQuadrupedEntityModel<T extends TurtleEntity>- Mappings:
Namespace Name Mixin selector named getBodyPartsLnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;official bLfuf;b()Ljava/lang/Iterable;
-
setAngles
- Overrides:
setAnglesin classQuadrupedEntityModel<T extends TurtleEntity>- Mappings:
Namespace Name Mixin selector named setAnglesLnet/minecraft/client/render/entity/model/TurtleEntityModel;setAngles(Lnet/minecraft/entity/passive/TurtleEntity;FFFFF)Vintermediary method_17125Lnet/minecraft/class_614;method_17125(Lnet/minecraft/class_1481;FFFFF)Vofficial aLfxs;a(Lcgf;FFFFF)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) Renders the model.- Overrides:
renderin classAnimalModel<T extends TurtleEntity>- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;III)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)Vofficial aLfwg;a(Lfbi;Lfbm;III)V
-