Class RealmsMainScreen.CrossButton
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.realms.gui.screen.RealmsMainScreen.CrossButton
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Direct Known Subclasses:
RealmsMainScreen.CloseButton
- Enclosing class:
RealmsMainScreen
- Mappings:
Namespace Name official eiu$c
intermediary net/minecraft/class_4325$class_8201
named net/minecraft/client/realms/gui/screen/RealmsMainScreen$CrossButton
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.Builder, ButtonWidget.NarrationSupplier, ButtonWidget.PressAction
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.ButtonWidget
DEFAULT_HEIGHT, DEFAULT_NARRATION_SUPPLIER, DEFAULT_WIDTH, DEFAULT_WIDTH_SMALL, narrationSupplier, onPress
Fields inherited from class net.minecraft.client.gui.widget.PressableWidget
field_43046, field_43047, field_43048, field_43050, field_43100, field_43101
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprotected
CrossButton
(int x, int y, ButtonWidget.PressAction onPress, Text message) protected
CrossButton
(ButtonWidget.PressAction onPress, Text message) -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderButton
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
appendClickableNarrations, builder, getNarrationMessage, onPress
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
drawMessage, keyPressed, onClick
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawTexture, forEachChild, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, render, setAlpha, setFocused, 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, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Constructor Details
-
CrossButton
- Mappings:
Namespace Name Mixin selector official <init>
Leiu$c;<init>(Lepi$c;Lsw;)V
intermediary <init>
Lnet/minecraft/class_4325$class_8201;<init>(Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$CrossButton;<init>(Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Lnet/minecraft/text/Text;)V
-
CrossButton
- Mappings:
Namespace Name Mixin selector official <init>
Leiu$c;<init>(IILepi$c;Lsw;)V
intermediary <init>
Lnet/minecraft/class_4325$class_8201;<init>(IILnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$CrossButton;<init>(IILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
renderButton
- Overrides:
renderButton
in classPressableWidget
- Mappings:
Namespace Name Mixin selector official b
Lepf;b(Leox;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
-