Class PiglinHeadEntityModel


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

    • leftEar

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

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

    • PiglinHeadEntityModel

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

    • getModelData

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

      public void setHeadRotation(float animationProgress, float yaw, float pitch)
      Specified by:
      setHeadRotation in class SkullBlockEntityModel
      Mappings:
      Namespace Name Mixin selector
      official a Lfdc;a(FFF)V
      intermediary method_2821 Lnet/minecraft/class_5598;method_2821(FFF)V
      named setHeadRotation Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;setHeadRotation(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
      official a Lfcb;a(Leij;Lein;IIFFFF)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
      named render Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V