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 ejv
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 Lejv;b:Leku;
      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> Lejv;<init>(Leku;)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 Lejv;a()Lelc;
      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 Lejv;b()Lela;
      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 Lejv;c()Lela;
      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 Lejw;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 Leix;a(Ldsj;Ldsn;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