Class PiglinHeadEntityModel


@Environment(CLIENT) public class PiglinHeadEntityModel extends SkullBlockEntityModel
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/PiglinHeadEntityModel
intermediary net/minecraft/class_7946
official fwh
  • Field Details

    • leftEar

      private final ModelPart leftEar
      Mappings:
      Namespace Name Mixin selector
      named leftEar Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
      intermediary field_41380 Lnet/minecraft/class_7946;field_41380:Lnet/minecraft/class_630;
      official b Lfwh;b:Lfye;
    • rightEar

      private final ModelPart rightEar
      Mappings:
      Namespace Name Mixin selector
      named rightEar Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
      intermediary field_41381 Lnet/minecraft/class_7946;field_41381:Lnet/minecraft/class_630;
      official c Lfwh;c:Lfye;
  • Constructor Details

    • PiglinHeadEntityModel

      public PiglinHeadEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
      intermediary <init> Lnet/minecraft/class_7946;<init>(Lnet/minecraft/class_630;)V
      official <init> Lfwh;<init>(Lfye;)V
  • Method Details

    • getModelData

      public static ModelData getModelData()
      Mappings:
      Namespace Name Mixin selector
      named getModelData Lnet/minecraft/client/render/entity/model/PiglinHeadEntityModel;getModelData()Lnet/minecraft/client/model/ModelData;
      intermediary method_47655 Lnet/minecraft/class_7946;method_47655()Lnet/minecraft/class_5609;
      official a Lfwh;a()Lfym;
    • setHeadRotation

      public void setHeadRotation(float animationProgress, float yaw, float pitch)
      Specified by:
      setHeadRotation in class SkullBlockEntityModel
      Mappings:
      Namespace Name Mixin selector
      named setHeadRotation Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;setHeadRotation(FFF)V
      intermediary method_2821 Lnet/minecraft/class_5598;method_2821(FFF)V
      official a Lfxb;a(FFF)V
    • render

      public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int int2)
      Renders the model.
      Specified by:
      render in class Model
      Parameters:
      light - the lightmap coordinates used for this model rendering
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;III)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)V
      official a Lfwa;a(Lfbc;Lfbg;III)V