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 official esv$bintermediary net/minecraft/class_8208$class_8660named net/minecraft/client/gui/widget/IconWidget$Texture
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionTexture(int x, int y, int width, int height, Identifier texture, int textureWidth, int textureHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrenderButton(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.IconWidget
appendClickableNarrations, create, create, getNavigationPath, isNarratable, playDownSoundMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, render, setAlpha, setFocused, 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, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
texture
- Mappings:
Namespace Name Mixin selector official aLesv$b;a:Laep;intermediary field_45358Lnet/minecraft/class_8208$class_8660;field_45358:Lnet/minecraft/class_2960;named textureLnet/minecraft/client/gui/widget/IconWidget$Texture;texture:Lnet/minecraft/util/Identifier;
-
textureWidth
private final int textureWidth- Mappings:
Namespace Name Mixin selector official bLesv$b;b:Iintermediary field_45359Lnet/minecraft/class_8208$class_8660;field_45359:Inamed textureWidthLnet/minecraft/client/gui/widget/IconWidget$Texture;textureWidth:I
-
textureHeight
private final int textureHeight- Mappings:
Namespace Name Mixin selector official cLesv$b;c:Iintermediary field_45360Lnet/minecraft/class_8208$class_8660;field_45360:Inamed textureHeightLnet/minecraft/client/gui/widget/IconWidget$Texture;textureHeight: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 official <init>Lesv$b;<init>(IIIILaep;II)Vintermediary <init>Lnet/minecraft/class_8208$class_8660;<init>(IIIILnet/minecraft/class_2960;II)Vnamed <init>Lnet/minecraft/client/gui/widget/IconWidget$Texture;<init>(IIIILnet/minecraft/util/Identifier;II)V
-
-
Method Details
-
renderButton
- Specified by:
renderButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLesg;b(Lerx;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vnamed renderButtonLnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
-