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 fve
  • 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 Lfve;b:Lfxb;
    • 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 Lfve;c:Lfxb;
  • 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> Lfve;<init>(Lfxb;)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 Lfve;a()Lfxj;
    • 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 Lfvy;a(FFF)V
    • render

      public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
      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;IIFFFF)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
      official a Lfux;a(Lezz;Lfad;IIFFFF)V