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/IconWidgetintermediary net/minecraft/class_8208official fiz
-
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, 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, 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 named <init>Lnet/minecraft/client/gui/widget/IconWidget;<init>(IIII)Vintermediary <init>Lnet/minecraft/class_8208;<init>(IIII)Vofficial <init>Lfiz;<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 createLnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;II)Lnet/minecraft/client/gui/widget/IconWidget;intermediary method_52721Lnet/minecraft/class_8208;method_52721(IILnet/minecraft/class_2960;II)Lnet/minecraft/class_8208;official aLfiz;a(IILakr;II)Lfiz;
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/gui/widget/IconWidget;create(IILnet/minecraft/util/Identifier;)Lnet/minecraft/client/gui/widget/IconWidget;intermediary method_52720Lnet/minecraft/class_8208;method_52720(IILnet/minecraft/class_2960;)Lnet/minecraft/class_8208;official aLfiz;a(IILakr;)Lfiz;
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector named appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vofficial aLfik;a(Lfmi;)V
-
playDownSound
- Overrides:
playDownSoundin classClickableWidget- Mappings:
Namespace Name Mixin selector named playDownSoundLnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)Vintermediary method_25354Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)Vofficial aLfik;a(Lgvf;)V
-
isNarratable
public boolean isNarratable()- Specified by:
isNarratablein interfaceSelectable- Overrides:
isNarratablein classClickableWidget- Mappings:
Namespace Name Mixin selector named isNarratableLnet/minecraft/client/gui/Selectable;isNarratable()Zintermediary method_37303Lnet/minecraft/class_6379;method_37303()Zofficial CLfmg;C()Z
-