Class LlamaEntityModel<T extends AbstractDonkeyEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.LlamaEntityModel<T>
@Environment(CLIENT)
public class LlamaEntityModel<T extends AbstractDonkeyEntity>
extends EntityModel<T>
Represents the model of a llama-like entity.
Part Name | Parent | Corresponding Field |
---|---|---|
"head" | Root part | head |
"body" | Root part | body |
"right_chest" | Root part | rightChest |
"left_chest" | Root part | leftChest |
"right_hind_leg" | Root part | rightHindLeg |
"left_hind_leg" | Root part | leftHindLeg |
"right_front_leg" | Root part | rightFrontLeg |
"left_front_leg" | Root part | leftFrontLeg |
- Mappings:
Namespace Name official fby
intermediary net/minecraft/class_578
named net/minecraft/client/render/entity/model/LlamaEntityModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TexturedModelData
getTexturedModelData
(Dilation dilation) void
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
head
- Mappings:
Namespace Name Mixin selector official a
Lfby;a:Lfee;
intermediary field_27443
Lnet/minecraft/class_578;field_27443:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official b
Lfby;b:Lfee;
intermediary field_27444
Lnet/minecraft/class_578;field_27444:Lnet/minecraft/class_630;
named body
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector official f
Lfby;f:Lfee;
intermediary field_27445
Lnet/minecraft/class_578;field_27445:Lnet/minecraft/class_630;
named rightHindLeg
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector official g
Lfby;g:Lfee;
intermediary field_27446
Lnet/minecraft/class_578;field_27446:Lnet/minecraft/class_630;
named leftHindLeg
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector official h
Lfby;h:Lfee;
intermediary field_27447
Lnet/minecraft/class_578;field_27447:Lnet/minecraft/class_630;
named rightFrontLeg
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector official i
Lfby;i:Lfee;
intermediary field_27448
Lnet/minecraft/class_578;field_27448:Lnet/minecraft/class_630;
named leftFrontLeg
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
rightChest
- Mappings:
Namespace Name Mixin selector official j
Lfby;j:Lfee;
intermediary field_27449
Lnet/minecraft/class_578;field_27449:Lnet/minecraft/class_630;
named rightChest
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;rightChest:Lnet/minecraft/client/model/ModelPart;
-
leftChest
- Mappings:
Namespace Name Mixin selector official k
Lfby;k:Lfee;
intermediary field_27450
Lnet/minecraft/class_578;field_27450:Lnet/minecraft/class_630;
named leftChest
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;leftChest:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
LlamaEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lfby;<init>(Lfee;)V
intermediary <init>
Lnet/minecraft/class_578;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Lfby;a(Lfei;)Lfek;
intermediary method_32018
Lnet/minecraft/class_578;method_32018(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;getTexturedModelData(Lnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/TexturedModelData;
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends AbstractDonkeyEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfby;a(Lbtj;FFFFF)V
intermediary method_22962
Lnet/minecraft/class_578;method_22962(Lnet/minecraft/class_1492;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/LlamaEntityModel;setAngles(Lnet/minecraft/entity/passive/AbstractDonkeyEntity;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.- Specified by:
render
in classModel
- Parameters:
light
- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official a
Lfcb;a(Leij;Lein;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-