Class HeadModelRenderer

java.lang.Object
net.minecraft.client.render.item.model.special.HeadModelRenderer
All Implemented Interfaces:
SpecialModelRenderer<ProfileComponent>

@Environment(CLIENT) public class HeadModelRenderer extends Object implements SpecialModelRenderer<ProfileComponent>
Mappings:
Namespace Name
named net/minecraft/client/render/item/model/special/HeadModelRenderer
intermediary net/minecraft/class_10513
official hdw
  • Field Details Link icon

    • kind Link icon

      private final SkullBlock.SkullType kind
      Mappings:
      Namespace Name Mixin selector
      named kind Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;kind:Lnet/minecraft/block/SkullBlock$SkullType;
      intermediary field_55449 Lnet/minecraft/class_10513;field_55449:Lnet/minecraft/class_2484$class_2485;
      official a Lhdw;a:Ldqu$a;
    • model Link icon

      private final SkullBlockEntityModel model
      Mappings:
      Namespace Name Mixin selector
      named model Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;model:Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;
      intermediary field_55450 Lnet/minecraft/class_10513;field_55450:Lnet/minecraft/class_5598;
      official b Lhdw;b:Lgdz;
    • texture Link icon

      @Nullable private final @Nullable Identifier texture
      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;texture:Lnet/minecraft/util/Identifier;
      intermediary field_55525 Lnet/minecraft/class_10513;field_55525:Lnet/minecraft/class_2960;
      official c Lhdw;c:Lakv;
    • animation Link icon

      private final float animation
      Mappings:
      Namespace Name Mixin selector
      named animation Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;animation:F
      intermediary field_55566 Lnet/minecraft/class_10513;field_55566:F
      official d Lhdw;d:F
  • Constructor Details Link icon

    • HeadModelRenderer Link icon

      public HeadModelRenderer(SkullBlock.SkullType kind, SkullBlockEntityModel model, @Nullable @Nullable Identifier texture, float animation)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;<init>(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;Lnet/minecraft/util/Identifier;F)V
      intermediary <init> Lnet/minecraft/class_10513;<init>(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_5598;Lnet/minecraft/class_2960;F)V
      official <init> Lhdw;<init>(Ldqu$a;Lgdz;Lakv;F)V
  • Method Details Link icon

    • getData Link icon

      @Nullable public @Nullable ProfileComponent getData(ItemStack itemStack)
      Specified by:
      getData in interface SpecialModelRenderer<ProfileComponent>
      Mappings:
      Namespace Name Mixin selector
      named getData Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;getData(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ProfileComponent;
      intermediary method_65709 Lnet/minecraft/class_10513;method_65709(Lnet/minecraft/class_1799;)Lnet/minecraft/class_9296;
      official a Lhdw;a(Lcwq;)Lczp;
    • render Link icon

      public void render(@Nullable @Nullable ProfileComponent profileComponent, ModelTransformationMode modelTransformationMode, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, boolean bool)
      Specified by:
      render in interface SpecialModelRenderer<ProfileComponent>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/item/model/special/HeadModelRenderer;render(Lnet/minecraft/component/type/ProfileComponent;Lnet/minecraft/item/ModelTransformationMode;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IIZ)V
      intermediary method_65710 Lnet/minecraft/class_10513;method_65710(Lnet/minecraft/class_9296;Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIZ)V
      official a Lhdw;a(Lczp;Lcwo;Lffv;Lglz;IIZ)V