Package net.minecraft.client.gui.widget
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
- Mappings:
Namespace Name official etq
intermediary net/minecraft/class_8765
named net/minecraft/client/gui/widget/PlayerSkinWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private final PlayerSkinWidget.Models
private final Supplier<SkinTextures>
private float
private float
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionPlayerSkinWidget
(int width, int height, EntityModelLoader entityModelLoader, Supplier<SkinTextures> skinSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
@Nullable GuiNavigationPath
getNavigationPath
(GuiNavigation navigation) boolean
protected void
onDrag
(double mouseX, double mouseY, double deltaX, double deltaY) void
playDownSound
(SoundManager soundManager) protected void
renderButton
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onRelease, render, setAlpha, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
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
- 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
- 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
- Specified by:
renderButton
in classClickableWidget
- 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 classClickableWidget
- 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
- Overrides:
playDownSound
in classClickableWidget
- 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
- Specified by:
appendClickableNarrations
in classClickableWidget
- 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 interfaceSelectable
- Overrides:
isNarratable
in classClickableWidget
- 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
-