Class PiglinEntityModel<T extends MobEntity>

All Implemented Interfaces:
ModelWithArms, ModelWithHead

@Environment(CLIENT) public class PiglinEntityModel<T extends MobEntity> extends PlayerEntityModel<T>
Mappings:
Namespace Name
official fcj
intermediary net/minecraft/class_4840
named net/minecraft/client/render/entity/model/PiglinEntityModel
  • Field Details

    • rightEar

      public final ModelPart rightEar
      Mappings:
      Namespace Name Mixin selector
      official a Lfcj;a:Lfee;
      intermediary field_27464 Lnet/minecraft/class_4840;field_27464:Lnet/minecraft/class_630;
      named rightEar Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
    • leftEar

      private final ModelPart leftEar
      Mappings:
      Namespace Name Mixin selector
      official A Lfcj;A:Lfee;
      intermediary field_27465 Lnet/minecraft/class_4840;field_27465:Lnet/minecraft/class_630;
      named leftEar Lnet/minecraft/client/render/entity/model/PiglinEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
    • bodyRotation

      private final ModelTransform bodyRotation
      Mappings:
      Namespace Name Mixin selector
      official B Lfcj;B:Lfeg;
      intermediary field_25634 Lnet/minecraft/class_4840;field_25634:Lnet/minecraft/class_5603;
      named bodyRotation Lnet/minecraft/client/render/entity/model/PiglinEntityModel;bodyRotation:Lnet/minecraft/client/model/ModelTransform;
    • headRotation

      private final ModelTransform headRotation
      Mappings:
      Namespace Name Mixin selector
      official C Lfcj;C:Lfeg;
      intermediary field_25635 Lnet/minecraft/class_4840;field_25635:Lnet/minecraft/class_5603;
      named headRotation Lnet/minecraft/client/render/entity/model/PiglinEntityModel;headRotation:Lnet/minecraft/client/model/ModelTransform;
    • leftArmRotation

      private final ModelTransform leftArmRotation
      Mappings:
      Namespace Name Mixin selector
      official D Lfcj;D:Lfeg;
      intermediary field_25632 Lnet/minecraft/class_4840;field_25632:Lnet/minecraft/class_5603;
      named leftArmRotation Lnet/minecraft/client/render/entity/model/PiglinEntityModel;leftArmRotation:Lnet/minecraft/client/model/ModelTransform;
    • rightArmRotation

      private final ModelTransform rightArmRotation
      Mappings:
      Namespace Name Mixin selector
      official E Lfcj;E:Lfeg;
      intermediary field_25633 Lnet/minecraft/class_4840;field_25633:Lnet/minecraft/class_5603;
      named rightArmRotation Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rightArmRotation:Lnet/minecraft/client/model/ModelTransform;
  • Constructor Details

    • PiglinEntityModel

      public PiglinEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfbs;<init>(Lfee;)V
      intermediary <init> Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getModelData

      public static ModelData getModelData(Dilation dilation)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcj;a(Lfei;)Lfem;
      intermediary method_32026 Lnet/minecraft/class_4840;method_32026(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
      named getModelData Lnet/minecraft/client/render/entity/model/PiglinEntityModel;getModelData(Lnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelData;
    • addHead

      public static void addHead(Dilation dilation, ModelData baseModelData)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcj;a(Lfei;Lfem;)V
      intermediary method_47656 Lnet/minecraft/class_4840;method_47656(Lnet/minecraft/class_5605;Lnet/minecraft/class_5609;)V
      named addHead Lnet/minecraft/client/render/entity/model/PiglinEntityModel;addHead(Lnet/minecraft/client/model/Dilation;Lnet/minecraft/client/model/ModelData;)V
    • setAngles

      public void setAngles(T t, float float2, float float3, float float4, float float5, float float6)
      Overrides:
      setAngles in class PlayerEntityModel<T extends MobEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfcj;a(Lbgb;FFFFF)V
      intermediary method_24803 Lnet/minecraft/class_4840;method_24803(Lnet/minecraft/class_1308;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/PiglinEntityModel;setAngles(Lnet/minecraft/entity/mob/MobEntity;FFFFF)V
    • animateArms

      protected void animateArms(T t, float float2)
      Overrides:
      animateArms in class BipedEntityModel<T extends MobEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfcj;a(Lbgb;F)V
      intermediary method_29355 Lnet/minecraft/class_4840;method_29355(Lnet/minecraft/class_1308;F)V
      named animateArms Lnet/minecraft/client/render/entity/model/PiglinEntityModel;animateArms(Lnet/minecraft/entity/mob/MobEntity;F)V
    • rotateMainArm

      private void rotateMainArm(T entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcj;a(Lbgb;)V
      intermediary method_29354 Lnet/minecraft/class_4840;method_29354(Lnet/minecraft/class_1308;)V
      named rotateMainArm Lnet/minecraft/client/render/entity/model/PiglinEntityModel;rotateMainArm(Lnet/minecraft/entity/mob/MobEntity;)V