Class LlamaSpitEntityModel<T extends Entity>


@Environment(CLIENT) public class LlamaSpitEntityModel<T extends Entity> extends SinglePartEntityModel<T>
Represents the model of llama-spit-like entity.
Model parts of this model
Part NameParentCorresponding Field
"main"Root part
Mappings:
Namespace Name
official fam
intermediary net/minecraft/class_581
named net/minecraft/client/render/entity/model/LlamaSpitEntityModel
  • Field Details

    • MAIN

      private static final String MAIN
      The key of the main model part, whose value is "main".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfam;a:Ljava/lang/String;
      intermediary field_32510 Lnet/minecraft/class_581;field_32510:Ljava/lang/String;
      named MAIN Lnet/minecraft/client/render/entity/model/LlamaSpitEntityModel;MAIN:Ljava/lang/String;
    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      official b Lfam;b:Lfcr;
      intermediary field_27451 Lnet/minecraft/class_581;field_27451:Lnet/minecraft/class_630;
      named root Lnet/minecraft/client/render/entity/model/LlamaSpitEntityModel;root:Lnet/minecraft/client/model/ModelPart;
  • Constructor Details

    • LlamaSpitEntityModel

      public LlamaSpitEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfam;<init>(Lfcr;)V
      intermediary <init> Lnet/minecraft/class_581;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/LlamaSpitEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official b Lfam;b()Lfcx;
      intermediary method_32019 Lnet/minecraft/class_581;method_32019()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/LlamaSpitEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • setAngles

      public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
      Specified by:
      setAngles in class EntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Lezs;a(Lbfh;FFFFF)V
      intermediary method_2819 Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
    • getPart

      public ModelPart getPart()
      Specified by:
      getPart in class SinglePartEntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfab;a()Lfcr;
      intermediary method_32008 Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;
      named getPart Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;