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.
Model parts of this model
Part NameParentCorresponding Field
"head"Root parthead
"body"Root partbody
"right_chest"Root partrightChest
"left_chest"Root partleftChest
"right_hind_leg"Root partrightHindLeg
"left_hind_leg"Root partleftHindLeg
"right_front_leg"Root partrightFrontLeg
"left_front_leg"Root partleftFrontLeg
Mappings:
Namespace Name
official eih
intermediary net/minecraft/class_578
named net/minecraft/client/render/entity/model/LlamaEntityModel
  • Field Details

    • body

      private final ModelPart body
      Mappings:
      Namespace Name Mixin selector
      official b Leih;b:Lekh;
      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

      private final ModelPart rightHindLeg
      Mappings:
      Namespace Name Mixin selector
      official f Leih;f:Lekh;
      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

      private final ModelPart leftHindLeg
      Mappings:
      Namespace Name Mixin selector
      official g Leih;g:Lekh;
      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

      private final ModelPart rightFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official h Leih;h:Lekh;
      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

      private final ModelPart leftFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official i Leih;i:Lekh;
      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

      private final ModelPart rightChest
      Mappings:
      Namespace Name Mixin selector
      official j Leih;j:Lekh;
      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

      private final ModelPart leftChest
      Mappings:
      Namespace Name Mixin selector
      official k Leih;k:Lekh;
      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

      public LlamaEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leih;<init>(Lekh;)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

      public static TexturedModelData getTexturedModelData(Dilation dilation)
      Mappings:
      Namespace Name Mixin selector
      official a Leih;a(Lekl;)Lekn;
      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

      public void setAngles(T t, float float2, float float3, float float4, float float5, float float6)
      Specified by:
      setAngles in class EntityModel<T extends AbstractDonkeyEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Leih;a(Lbio;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 class Model
      Parameters:
      light - the lightmap coordinates used for this model rendering
      Mappings:
      Namespace Name Mixin selector
      official a Leik;a(Ldrw;Ldsa;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