Class LeashKnotEntityModel<T extends Entity>


@Environment(CLIENT) public class LeashKnotEntityModel<T extends Entity> extends SinglePartEntityModel<T>
Represents the model of a leash-knot-like entity.
Model parts of this model
Part NameParentCorresponding Field
"knot"Root partknot
Mappings:
Namespace Name
official eif
intermediary net/minecraft/class_579
named net/minecraft/client/render/entity/model/LeashKnotEntityModel
  • Field Details

    • KNOT

      private static final String KNOT
      The key of the knot model part, whose value is "knot".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leif;a:Ljava/lang/String;
      intermediary field_32509 Lnet/minecraft/class_579;field_32509:Ljava/lang/String;
      named KNOT Lnet/minecraft/client/render/entity/model/LeashKnotEntityModel;KNOT:Ljava/lang/String;
    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      official b Leif;b:Lekh;
      intermediary field_27442 Lnet/minecraft/class_579;field_27442:Lnet/minecraft/class_630;
      named root Lnet/minecraft/client/render/entity/model/LeashKnotEntityModel;root:Lnet/minecraft/client/model/ModelPart;
    • knot

      private final ModelPart knot
      Mappings:
      Namespace Name Mixin selector
      official f Leif;f:Lekh;
      intermediary field_3431 Lnet/minecraft/class_579;field_3431:Lnet/minecraft/class_630;
      named knot Lnet/minecraft/client/render/entity/model/LeashKnotEntityModel;knot:Lnet/minecraft/client/model/ModelPart;
  • Constructor Details

    • LeashKnotEntityModel

      public LeashKnotEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leif;<init>(Lekh;)V
      intermediary <init> Lnet/minecraft/class_579;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/LeashKnotEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official a Leif;a()Lekn;
      intermediary method_32017 Lnet/minecraft/class_579;method_32017()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/LeashKnotEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • getPart

      public ModelPart getPart()
      Specified by:
      getPart in class SinglePartEntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official b Lehy;b()Lekh;
      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;
    • 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 Lehq;a(Lawm;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