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 named net/minecraft/client/gui/widget/IconWidget
intermediary net/minecraft/class_8208
official fht
-
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) 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, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, render, renderWidget, 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
-
Constructor Details
-
IconWidget
IconWidget(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/IconWidget;<init>(IIII)V
intermediary <init>
Lnet/minecraft/class_8208;<init>(IIII)V
official <init>
Lfht;<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 named create
Lnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;II)Lnet/minecraft/client/gui/widget/IconWidget;
intermediary method_52721
Lnet/minecraft/class_8208;method_52721(IILnet/minecraft/class_2960;II)Lnet/minecraft/class_8208;
official a
Lfht;a(IILalf;II)Lfht;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;)Lnet/minecraft/client/gui/widget/IconWidget;
intermediary method_52720
Lnet/minecraft/class_8208;method_52720(IILnet/minecraft/class_2960;)Lnet/minecraft/class_8208;
official a
Lfht;a(IILalf;)Lfht;
-
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
Lfhe;a(Lflc;)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
Lfhe;a(Lgtx;)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 B
Lfla;B()Z
-