net.minecraft.client.gui.widget

class IconWidget$Texture

extends IconWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.components.ImageWidget$Texture
net.minecraft.class_8208$class_8660
net.minecraft.client.gui.widget.IconWidget$Texture

Field summary

Modifier and TypeField
private Identifier
texture
field_45358
texture
private final int
textureWidth
field_45359
textureWidth
private final int
textureHeight
field_45360
textureHeight

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Identifier texture, int textureWidth, int textureHeight)

Method summary

Modifier and TypeMethod
protected void
extractWidgetRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
public void
updateResource(Identifier identifier)
method_71281(class_2960 arg0)
setTexture(Identifier arg0)