Class PlayerSkinWidget

java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PlayerSkinWidget
All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class PlayerSkinWidget extends ClickableWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/PlayerSkinWidget
intermediary net/minecraft/class_8765
official fjg
  • Field Details

    • field_45996

      private static final float field_45996
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45996 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_45996:F
      intermediary field_45996 Lnet/minecraft/class_8765;field_45996:F
      official a Lfjg;a:F
    • field_45997

      private static final float field_45997
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45997 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_45997:F
      intermediary field_45997 Lnet/minecraft/class_8765;field_45997:F
      official b Lfjg;b:F
    • field_45998

      private static final float field_45998
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45998 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_45998:F
      intermediary field_45998 Lnet/minecraft/class_8765;field_45998:F
      official c Lfjg;c:F
    • field_45999

      private static final float field_45999
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45999 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_45999:F
      intermediary field_45999 Lnet/minecraft/class_8765;field_45999:F
      official d Lfjg;d:F
    • field_46000

      private static final float field_46000
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46000 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_46000:F
      intermediary field_46000 Lnet/minecraft/class_8765;field_46000:F
      official e Lfjg;e:F
    • field_46001

      private static final float field_46001
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46001 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_46001:F
      intermediary field_46001 Lnet/minecraft/class_8765;field_46001:F
      official f Lfjg;f:F
    • field_46002

      private static final float field_46002
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46002 Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_46002:F
      intermediary field_46002 Lnet/minecraft/class_8765;field_46002:F
      official m Lfjg;m:F
    • models

      private final PlayerSkinWidget.Models models
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/gui/widget/PlayerSkinWidget;models:Lnet/minecraft/client/gui/widget/PlayerSkinWidget$Models;
      intermediary field_46003 Lnet/minecraft/class_8765;field_46003:Lnet/minecraft/class_8765$class_8766;
      official n Lfjg;n:Lfjg$a;
    • skinSupplier

      private final Supplier<SkinTextures> skinSupplier
      Mappings:
      Namespace Name Mixin selector
      named skinSupplier Lnet/minecraft/client/gui/widget/PlayerSkinWidget;skinSupplier:Ljava/util/function/Supplier;
      intermediary field_46004 Lnet/minecraft/class_8765;field_46004:Ljava/util/function/Supplier;
      official o Lfjg;o:Ljava/util/function/Supplier;
    • xRotation

      private float xRotation
      Mappings:
      Namespace Name Mixin selector
      named xRotation Lnet/minecraft/client/gui/widget/PlayerSkinWidget;xRotation:F
      intermediary field_46005 Lnet/minecraft/class_8765;field_46005:F
      official p Lfjg;p:F
    • yRotation

      private float yRotation
      Mappings:
      Namespace Name Mixin selector
      named yRotation Lnet/minecraft/client/gui/widget/PlayerSkinWidget;yRotation:F
      intermediary field_46006 Lnet/minecraft/class_8765;field_46006:F
      official q Lfjg;q:F
  • Constructor Details

    • PlayerSkinWidget

      public PlayerSkinWidget(int width, int height, EntityModelLoader entityModelLoader, Supplier<SkinTextures> skinSupplier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/widget/PlayerSkinWidget;<init>(IILnet/minecraft/client/render/entity/model/EntityModelLoader;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_8765;<init>(IILnet/minecraft/class_5599;Ljava/util/function/Supplier;)V
      official <init> Lfjg;<init>(IILfya;Ljava/util/function/Supplier;)V
  • Method Details

    • renderWidget

      protected void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      renderWidget in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named renderWidget Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      official b Lfie;b(Lfht;IIF)V
    • onDrag

      protected void onDrag(double mouseX, double mouseY, double deltaX, double deltaY)
      Overrides:
      onDrag in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named onDrag Lnet/minecraft/client/gui/widget/ClickableWidget;onDrag(DDDD)V
      intermediary method_25349 Lnet/minecraft/class_339;method_25349(DDDD)V
      official b Lfie;b(DDDD)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named playDownSound Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
      intermediary method_25354 Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V
      official a Lfie;a(Lguy;)V
    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named appendClickableNarrations Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
      intermediary method_47399 Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
      official a Lfie;a(Lfmc;)V
    • isNarratable

      public boolean isNarratable()
      Specified by:
      isNarratable in interface Selectable
      Overrides:
      isNarratable in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named isNarratable Lnet/minecraft/client/gui/Selectable;isNarratable()Z
      intermediary method_37303 Lnet/minecraft/class_6379;method_37303()Z
      official C Lfma;C()Z
    • getNavigationPath

      @Nullable public @Nullable GuiNavigationPath getNavigationPath(GuiNavigation navigation)
      Specified by:
      getNavigationPath in interface Element
      Overrides:
      getNavigationPath in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named getNavigationPath Lnet/minecraft/client/gui/Element;getNavigationPath(Lnet/minecraft/client/gui/navigation/GuiNavigation;)Lnet/minecraft/client/gui/navigation/GuiNavigationPath;
      intermediary method_48205 Lnet/minecraft/class_364;method_48205(Lnet/minecraft/class_8023;)Lnet/minecraft/class_8016;
      official a Lfkc;a(Lfmi;)Lfhq;