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 named net/minecraft/client/gui/widget/PlayerSkinWidget
intermediary net/minecraft/class_8765
official fiu
-
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
getNavigationPath
(GuiNavigation navigation) boolean
protected void
onDrag
(double mouseX, double mouseY, double deltaX, double deltaY) void
playDownSound
(SoundManager soundManager) protected void
renderWidget
(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, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onRelease, render, setAlpha, setDimensions, setDimensionsAndPosition, 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 named field_45996
Lnet/minecraft/client/gui/widget/PlayerSkinWidget;field_45996:F
intermediary field_45996
Lnet/minecraft/class_8765;field_45996:F
official a
Lfiu;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
Lfiu;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
Lfiu;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
Lfiu;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
Lfiu;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
Lfiu;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
Lfiu;m:F
-
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
Lfiu;n:Lfiu$a;
-
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
Lfiu;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
Lfiu;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
Lfiu;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>
Lfiu;<init>(IILfxm;Ljava/util/function/Supplier;)V
-
-
Method Details
-
renderWidget
- Specified by:
renderWidget
in classClickableWidget
- 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
Lfhs;b(Lfhh;IIF)V
-
onDrag
protected void onDrag(double mouseX, double mouseY, double deltaX, double deltaY) - Overrides:
onDrag
in classClickableWidget
- 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
Lfhs;b(DDDD)V
-
playDownSound
- Overrides:
playDownSound
in classClickableWidget
- 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
Lfhs;a(Lguj;)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- 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
Lfhs;a(Lflq;)V
-
isNarratable
public boolean isNarratable()- Specified by:
isNarratable
in interfaceSelectable
- Overrides:
isNarratable
in classClickableWidget
- 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
Lflo;C()Z
-