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 esvintermediary net/minecraft/class_8208named net/minecraft/client/gui/widget/IconWidget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classNested 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, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic IconWidgetcreate(int width, int height, Identifier texture) static IconWidgetcreate(int width, int height, Identifier texture, int textureWidth, int textureHeight) getNavigationPath(GuiNavigation navigation) booleanvoidplayDownSound(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, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods 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>Lesv;<init>(IIII)Vintermediary <init>Lnet/minecraft/class_8208;<init>(IIII)Vnamed <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 aLesv;a(IILaep;II)Lesv;intermediary method_52721Lnet/minecraft/class_8208;method_52721(IILnet/minecraft/class_2960;II)Lnet/minecraft/class_8208;named createLnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;II)Lnet/minecraft/client/gui/widget/IconWidget;
-
create
- Mappings:
Namespace Name Mixin selector official aLesv;a(IILaep;)Lesv;intermediary method_52720Lnet/minecraft/class_8208;method_52720(IILnet/minecraft/class_2960;)Lnet/minecraft/class_8208;named createLnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;)Lnet/minecraft/client/gui/widget/IconWidget;
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector official aLesg;a(Levt;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vnamed appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
playDownSound
- Overrides:
playDownSoundin classClickableWidget- Mappings:
Namespace Name Mixin selector official aLesg;a(Lgcs;)Vintermediary method_25354Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)Vnamed playDownSoundLnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
-
isNarratable
public boolean isNarratable()- Specified by:
isNarratablein interfaceSelectable- Overrides:
isNarratablein classClickableWidget- Mappings:
Namespace Name Mixin selector official az_Levr;az_()Zintermediary method_37303Lnet/minecraft/class_6379;method_37303()Znamed isNarratableLnet/minecraft/client/gui/Selectable;isNarratable()Z
-