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
named net/minecraft/client/render/entity/model/SkullEntityModel
intermediary net/minecraft/class_607
official fvx
  • Field Details

    • root

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

    • SkullEntityModel

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

    • getModelData

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

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

      public static TexturedModelData getSkullTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      named getSkullTexturedModelData Lnet/minecraft/client/render/entity/model/SkullEntityModel;getSkullTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
      intermediary method_32050 Lnet/minecraft/class_607;method_32050()Lnet/minecraft/class_5607;
      official c Lfvx;c()Lfxh;
    • 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