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 fxg
  • 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 Lfxg;b:Lfyk;
  • 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> Lfxg;<init>(Lfyk;)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 Lfxg;a()Lfys;
    • 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 Lfxg;b()Lfyq;
    • 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 Lfxg;c()Lfyq;
    • 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 Lfxh;a(FFF)V
    • render

      public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color)
      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;III)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)V
      official a Lfwg;a(Lfbi;Lfbm;III)V