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 - fph
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classprivate static classNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.ClickableWidgetappendDefaultNarrations, appendNarrations, 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, playClickSound, render, renderWidget, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Constructor Details- 
IconWidgetIconWidget(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>- Lfph;<init>(IIII)V
 
 
- 
- 
Method Details- 
createpublic 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- Lfph;a(IILakv;II)Lfph;
 
- 
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- Lfph;a(IILakv;)Lfph;
 
- 
appendClickableNarrations- Specified by:
- appendClickableNarrationsin class- ClickableWidget
- 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- Lfos;a(Lfsr;)V
 
- 
playDownSound- Overrides:
- playDownSoundin class- ClickableWidget
- 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- Lfos;a(Lhjw;)V
 
- 
isNarratablepublic boolean isNarratable()- Specified by:
- isNarratablein interface- Selectable
- Overrides:
- isNarratablein class- ClickableWidget
- 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 - E- Lfsp;E()Z
 
 
-