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
official etq
intermediary net/minecraft/class_8765
named net/minecraft/client/gui/widget/PlayerSkinWidget
  • Field Details

    • field_45996

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

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

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

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

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

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

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

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

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

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

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

    • PlayerSkinWidget

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

    • renderButton

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

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

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

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

      public boolean isNarratable()
      Specified by:
      isNarratable in interface Selectable
      Overrides:
      isNarratable in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official aD_ Lewg;aD_()Z
      intermediary method_37303 Lnet/minecraft/class_6379;method_37303()Z
      named isNarratable Lnet/minecraft/client/gui/Selectable;isNarratable()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
      official a Leuk;a(Lewo;)Lesc;
      intermediary method_48205 Lnet/minecraft/class_364;method_48205(Lnet/minecraft/class_8023;)Lnet/minecraft/class_8016;
      named getNavigationPath Lnet/minecraft/client/gui/Element;getNavigationPath(Lnet/minecraft/client/gui/navigation/GuiNavigation;)Lnet/minecraft/client/gui/navigation/GuiNavigationPath;