Package net.minecraft.client.gui.widget
Class IconWidget.Texture
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.IconWidget
net.minecraft.client.gui.widget.IconWidget.Texture
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable,Widget
- Enclosing class:
IconWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/IconWidget$Textureintermediary net/minecraft/class_8208$class_8660official gec$b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTexture(int x, int y, int width, int height, Identifier texture, int textureWidth, int textureHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrenderWidget(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidsetTexture(Identifier texture) Methods inherited from class net.minecraft.client.gui.widget.IconWidget
appendClickableNarrations, create, create, getNavigationPath, isInteractable, playDownSoundMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playClickSound, render, 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, getBorder, getFocusedPath, isClickable, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
texture
- Mappings:
Namespace Name Mixin selector named textureLnet/minecraft/client/gui/widget/IconWidget$Texture;texture:Lnet/minecraft/util/Identifier;intermediary field_45358Lnet/minecraft/class_8208$class_8660;field_45358:Lnet/minecraft/class_2960;official aLgec$b;a:Lamj;
-
textureWidth
private final int textureWidth- Mappings:
Namespace Name Mixin selector named textureWidthLnet/minecraft/client/gui/widget/IconWidget$Texture;textureWidth:Iintermediary field_45359Lnet/minecraft/class_8208$class_8660;field_45359:Iofficial bLgec$b;b:I
-
textureHeight
private final int textureHeight- Mappings:
Namespace Name Mixin selector named textureHeightLnet/minecraft/client/gui/widget/IconWidget$Texture;textureHeight:Iintermediary field_45360Lnet/minecraft/class_8208$class_8660;field_45360:Iofficial cLgec$b;c:I
-
-
Constructor Details
-
Texture
public Texture(int x, int y, int width, int height, Identifier texture, int textureWidth, int textureHeight) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/widget/IconWidget$Texture;<init>(IIIILnet/minecraft/util/Identifier;II)Vintermediary <init>Lnet/minecraft/class_8208$class_8660;<init>(IIIILnet/minecraft/class_2960;II)Vofficial <init>Lgec$b;<init>(IIIILamj;II)V
-
-
Method Details
-
renderWidget
- Specified by:
renderWidgetin classClickableWidget- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLgdn;b(Lgdd;IIF)V
-
setTexture
- Specified by:
setTexturein classIconWidget- Mappings:
Namespace Name Mixin selector named setTextureLnet/minecraft/client/gui/widget/IconWidget;setTexture(Lnet/minecraft/util/Identifier;)Vintermediary method_71281Lnet/minecraft/class_8208;method_71281(Lnet/minecraft/class_2960;)Vofficial aLgec;a(Lamj;)V
-