Class VillagerResemblingModel<T extends Entity>

All Implemented Interfaces:
ModelWithHat, ModelWithHead
Direct Known Subclasses:
WitchEntityModel

@Environment(CLIENT) public class VillagerResemblingModel<T extends Entity> extends SinglePartEntityModel<T> implements ModelWithHead, ModelWithHat
Represents the model of a villager resembling entity.
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/VillagerResemblingModel
intermediary net/minecraft/class_620
official fwm
  • Field Details

    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      named root Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;root:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27526 Lnet/minecraft/class_620;field_27526:Lnet/minecraft/class_630;
      official b Lfwm;b:Lfxb;
    • hat

      private final ModelPart hat
      Mappings:
      Namespace Name Mixin selector
      named hat Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;hat:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27528 Lnet/minecraft/class_620;field_27528:Lnet/minecraft/class_630;
      official g Lfwm;g:Lfxb;
    • hatRim

      private final ModelPart hatRim
      Mappings:
      Namespace Name Mixin selector
      named hatRim Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;hatRim:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27529 Lnet/minecraft/class_620;field_27529:Lnet/minecraft/class_630;
      official h Lfwm;h:Lfxb;
    • rightLeg

      private final ModelPart rightLeg
      Mappings:
      Namespace Name Mixin selector
      named rightLeg Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27530 Lnet/minecraft/class_620;field_27530:Lnet/minecraft/class_630;
      official i Lfwm;i:Lfxb;
    • leftLeg

      private final ModelPart leftLeg
      Mappings:
      Namespace Name Mixin selector
      named leftLeg Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27531 Lnet/minecraft/class_620;field_27531:Lnet/minecraft/class_630;
      official j Lfwm;j:Lfxb;
    • nose

      protected final ModelPart nose
      Mappings:
      Namespace Name Mixin selector
      named nose Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;nose:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27525 Lnet/minecraft/class_620;field_27525:Lnet/minecraft/class_630;
      official a Lfwm;a:Lfxb;
  • Constructor Details

    • VillagerResemblingModel

      public VillagerResemblingModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
      intermediary <init> Lnet/minecraft/class_620;<init>(Lnet/minecraft/class_630;)V
      official <init> Lfwm;<init>(Lfxb;)V
  • Method Details

    • getModelData

      public static ModelData getModelData()
      Mappings:
      Namespace Name Mixin selector
      named getModelData Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;getModelData()Lnet/minecraft/client/model/ModelData;
      intermediary method_32064 Lnet/minecraft/class_620;method_32064()Lnet/minecraft/class_5609;
      official b Lfwm;b()Lfxj;
    • getPart

      public ModelPart getPart()
      Specified by:
      getPart in class SinglePartEntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      named getPart Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;
      intermediary method_32008 Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;
      official a Lfuk;a()Lfxb;
    • 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
      named setAngles Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
      intermediary method_2819 Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
      official a Lfub;a(Lbsv;FFFFF)V
    • getHead

      public ModelPart getHead()
      Gets the head model part.
      Specified by:
      getHead in interface ModelWithHead
      Returns:
      the head
      Mappings:
      Namespace Name Mixin selector
      named getHead Lnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
      intermediary method_2838 Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;
      official d Lfuj;d()Lfxb;
    • setHatVisible

      public void setHatVisible(boolean visible)
      Sets whether the hat is visible or not.
      Specified by:
      setHatVisible in interface ModelWithHat
      Parameters:
      visible - true if the hat is visible, otherwise false
      Mappings:
      Namespace Name Mixin selector
      named setHatVisible Lnet/minecraft/client/render/entity/model/ModelWithHat;setHatVisible(Z)V
      intermediary method_17150 Lnet/minecraft/class_3884;method_17150(Z)V
      official a Lfwl;a(Z)V