Class ImageWidget.Texture
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.ImageWidget
net.minecraft.client.gui.components.ImageWidget.Texture
- All Implemented Interfaces:
- GuiEventListener,- Renderable,- TabOrderedElement,- LayoutElement,- NarratableEntry,- NarrationSupplier
- Enclosing class:
- ImageWidget
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.components.ImageWidgetImageWidget.Sprite, ImageWidget.TextureNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntryNarratableEntry.NarrationPriority
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final intprivate final intFields inherited from class net.minecraft.client.gui.components.AbstractWidgetactive, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsConstructorDescriptionTexture(int p_299083_, int p_301299_, int p_299901_, int p_299822_, ResourceLocation p_299550_, int p_298841_, int p_297816_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidrenderWidget(GuiGraphics p_301123_, int p_301197_, int p_299250_, float p_300781_) Methods inherited from class net.minecraft.client.gui.components.ImageWidgetisActive, nextFocusPath, playDownSound, sprite, texture, updateWidgetNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractWidgetclearFGColor, clicked, createNarrationMessage, createTooltipPositioner, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getRectangle, getTabOrderGroup, getTooltip, getWidth, getX, getY, isFocused, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onClick, onDrag, onRelease, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setFocused, setHeight, setMessage, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessageMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenercharTyped, getCurrentFocusPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElementsetPosition
- 
Field Details- 
texture
- 
textureWidthprivate final int textureWidth
- 
textureHeightprivate final int textureHeight
 
- 
- 
Constructor Details- 
Texturepublic Texture(int p_299083_, int p_301299_, int p_299901_, int p_299822_, ResourceLocation p_299550_, int p_298841_, int p_297816_) 
 
- 
- 
Method Details- 
renderWidget- Specified by:
- renderWidgetin class- AbstractWidget
 
 
-