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 fvf
  • 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 Lfvf;b:Lfxc;
    • 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 Lfvf;c:Lfxc;
  • 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> Lfvf;<init>(Lfxc;)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 Lfvf;a()Lfxk;
    • 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 Lfvz;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 Lfuy;a(Lfaa;Lfae;IIFFFF)V