Class SkullEntityModel


@Environment(CLIENT) public class SkullEntityModel extends SkullBlockEntityModel
Represents the model of a skull.
Model parts of this model
Part NameParentCorresponding Field
"head"Root parthead
"hat" (note: may not exist)"head"
Mappings:
Namespace Name
official fgz
intermediary net/minecraft/class_607
named net/minecraft/client/render/entity/model/SkullEntityModel
  • Field Details

    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      official b Lfgz;b:Lfic;
      intermediary field_27498 Lnet/minecraft/class_607;field_27498:Lnet/minecraft/class_630;
      named root Lnet/minecraft/client/render/entity/model/SkullEntityModel;root:Lnet/minecraft/client/model/ModelPart;
  • Constructor Details

    • SkullEntityModel

      public SkullEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfgz;<init>(Lfic;)V
      intermediary <init> Lnet/minecraft/class_607;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/SkullEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getModelData

      public static ModelData getModelData()
      Mappings:
      Namespace Name Mixin selector
      official a Lfgz;a()Lfik;
      intermediary method_32048 Lnet/minecraft/class_607;method_32048()Lnet/minecraft/class_5609;
      named getModelData Lnet/minecraft/client/render/entity/model/SkullEntityModel;getModelData()Lnet/minecraft/client/model/ModelData;
    • getHeadTexturedModelData

      public static TexturedModelData getHeadTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official b Lfgz;b()Lfii;
      intermediary method_32049 Lnet/minecraft/class_607;method_32049()Lnet/minecraft/class_5607;
      named getHeadTexturedModelData Lnet/minecraft/client/render/entity/model/SkullEntityModel;getHeadTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • getSkullTexturedModelData

      public static TexturedModelData getSkullTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official c Lfgz;c()Lfii;
      intermediary method_32050 Lnet/minecraft/class_607;method_32050()Lnet/minecraft/class_5607;
      named getSkullTexturedModelData Lnet/minecraft/client/render/entity/model/SkullEntityModel;getSkullTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • setHeadRotation

      public void setHeadRotation(float animationProgress, float yaw, float pitch)
      Specified by:
      setHeadRotation in class SkullBlockEntityModel
      Mappings:
      Namespace Name Mixin selector
      official a Lfha;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 Lffz;a(Lelp;Lelt;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