Package net.minecraft.client.gui.widget
Class IconWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.IconWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Direct Known Subclasses:
IconWidget.Simple
,IconWidget.Texture
- Mappings:
Namespace Name official etd
intermediary net/minecraft/class_8208
named net/minecraft/client/gui/widget/IconWidget
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
static IconWidget
create
(int width, int height, Identifier texture) static IconWidget
create
(int width, int height, Identifier texture, int textureWidth, int textureHeight) @Nullable GuiNavigationPath
getNavigationPath
(GuiNavigation navigation) boolean
void
playDownSound
(SoundManager soundManager) 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, onDrag, onRelease, render, renderButton, 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
-
Constructor Details
-
IconWidget
IconWidget(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector official <init>
Letd;<init>(IIII)V
intermediary <init>
Lnet/minecraft/class_8208;<init>(IIII)V
named <init>
Lnet/minecraft/client/gui/widget/IconWidget;<init>(IIII)V
-
-
Method Details
-
create
public static IconWidget create(int width, int height, Identifier texture, int textureWidth, int textureHeight) - Mappings:
Namespace Name Mixin selector official a
Letd;a(IILaew;II)Letd;
intermediary method_52721
Lnet/minecraft/class_8208;method_52721(IILnet/minecraft/class_2960;II)Lnet/minecraft/class_8208;
named create
Lnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;II)Lnet/minecraft/client/gui/widget/IconWidget;
-
create
- Mappings:
Namespace Name Mixin selector official a
Letd;a(IILaew;)Letd;
intermediary method_52720
Lnet/minecraft/class_8208;method_52720(IILnet/minecraft/class_2960;)Lnet/minecraft/class_8208;
named create
Lnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;)Lnet/minecraft/client/gui/widget/IconWidget;
-
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
-
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
-
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
-