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$Texture
intermediary net/minecraft/class_8208$class_8660
official fit$b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionTexture
(int x, int y, int width, int height, Identifier texture, int textureWidth, int textureHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.IconWidget
appendClickableNarrations, create, create, getNavigationPath, isNarratable, playDownSound
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, 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, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
texture
- Mappings:
Namespace Name Mixin selector named texture
Lnet/minecraft/client/gui/widget/IconWidget$Texture;texture:Lnet/minecraft/util/Identifier;
intermediary field_45358
Lnet/minecraft/class_8208$class_8660;field_45358:Lnet/minecraft/class_2960;
official a
Lfit$b;a:Lakq;
-
textureWidth
private final int textureWidth- Mappings:
Namespace Name Mixin selector named textureWidth
Lnet/minecraft/client/gui/widget/IconWidget$Texture;textureWidth:I
intermediary field_45359
Lnet/minecraft/class_8208$class_8660;field_45359:I
official b
Lfit$b;b:I
-
textureHeight
private final int textureHeight- Mappings:
Namespace Name Mixin selector named textureHeight
Lnet/minecraft/client/gui/widget/IconWidget$Texture;textureHeight:I
intermediary field_45360
Lnet/minecraft/class_8208$class_8660;field_45360:I
official c
Lfit$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)V
intermediary <init>
Lnet/minecraft/class_8208$class_8660;<init>(IIIILnet/minecraft/class_2960;II)V
official <init>
Lfit$b;<init>(IIIILakq;II)V
-
-
Method Details
-
renderWidget
- Specified by:
renderWidget
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
official b
Lfie;b(Lfht;IIF)V
-