net.minecraft.client.gui.widget

public abstract class IconWidget

extends ClickableWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.components.ImageWidget
net.minecraft.class_8208
net.minecraft.client.gui.widget.IconWidget

Constructor summary

ModifierConstructor
private (int x, int y, int width, int height)

Method summary

Modifier and TypeMethod
public static IconWidget
texture(int width, int height, Identifier texture, int textureWidth, int textureHeight)
method_52721(int arg0, int arg1, class_2960 arg2, int arg3, int arg4)
create(int width, int height, Identifier texture, int textureWidth, int textureHeight)
public static IconWidget
sprite(int width, int height, Identifier sprite)
method_52720(int arg0, int arg1, class_2960 arg2)
create(int width, int height, Identifier texture)
protected void
updateWidgetNarration(NarrationElementOutput output)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public void
playDownSound(SoundManager soundManager)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
public boolean
isActive()
method_37303()
isInteractable()
public abstract void
updateResource(Identifier identifier)
method_71281(class_2960 arg0)
setTexture(Identifier texture)
public GuiNavigationPath
nextFocusPath(FocusNavigationEvent navigationEvent)
method_48205(class_8023 arg0)
getNavigationPath(GuiNavigation arg0)