Class RealmsMainScreen.NotificationButtonWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.TextIconButtonWidget
net.minecraft.client.gui.widget.TextIconButtonWidget.IconOnly
net.minecraft.client.realms.gui.screen.RealmsMainScreen.NotificationButtonWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Enclosing class:
RealmsMainScreen
@Environment(CLIENT)
private static class RealmsMainScreen.NotificationButtonWidget
extends TextIconButtonWidget.IconOnly
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget
intermediary net/minecraft/class_4325$class_8651
official fak$g
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget
TextIconButtonWidget.Builder, TextIconButtonWidget.IconOnly, TextIconButtonWidget.WithText
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.NarrationSupplier, ButtonWidget.PressAction
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private int
private static final int
private static final int
private static final Identifier[]
Fields inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget
texture, textureHeight, textureWidth
Fields inherited from class net.minecraft.client.gui.widget.ButtonWidget
DEFAULT_HEIGHT, DEFAULT_NARRATION_SUPPLIER, DEFAULT_WIDTH, DEFAULT_WIDTH_SMALL, field_46856, field_49479, narrationSupplier, onPress
Fields inherited from class net.minecraft.client.gui.widget.PressableWidget
field_43050
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
ConstructorDescriptionNotificationButtonWidget
(Text message, Identifier texture, ButtonWidget.PressAction onPress) -
Method Summary
Modifier and TypeMethodDescription(package private) int
private void
render
(DrawContext context) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
setNotificationCount
(int notificationCount) Methods inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget.IconOnly
drawMessage
Methods inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget
builder
Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
appendClickableNarrations, builder, getNarrationMessage, onPress
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, onClick
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, 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, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector named TEXTURES
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;TEXTURES:[Lnet/minecraft/util/Identifier;
intermediary field_45227
Lnet/minecraft/class_4325$class_8651;field_45227:[Lnet/minecraft/class_2960;
official d
Lfak$g;d:[Lalf;
-
field_45228
private static final int field_45228- See Also:
- Mappings:
Namespace Name Mixin selector named field_45228
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;field_45228:I
intermediary field_45228
Lnet/minecraft/class_4325$class_8651;field_45228:I
official u
Lfak$g;u:I
-
SIZE
private static final int SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named SIZE
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;SIZE:I
intermediary field_45229
Lnet/minecraft/class_4325$class_8651;field_45229:I
official v
Lfak$g;v:I
-
TEXTURE_SIZE
private static final int TEXTURE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named TEXTURE_SIZE
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;TEXTURE_SIZE:I
intermediary field_45230
Lnet/minecraft/class_4325$class_8651;field_45230:I
official w
Lfak$g;w:I
-
notificationCount
private int notificationCount- Mappings:
Namespace Name Mixin selector named notificationCount
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;notificationCount:I
intermediary field_45231
Lnet/minecraft/class_4325$class_8651;field_45231:I
official x
Lfak$g;x:I
-
-
Constructor Details
-
NotificationButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
intermediary <init>
Lnet/minecraft/class_4325$class_8651;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
official <init>
Lfak$g;<init>(Lxp;Lalf;Lfhf$c;)V
-
-
Method Details
-
getNotificationCount
int getNotificationCount()- Mappings:
Namespace Name Mixin selector named getNotificationCount
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;getNotificationCount()I
intermediary method_53794
Lnet/minecraft/class_4325$class_8651;method_53794()I
official a
Lfak$g;a()I
-
setNotificationCount
public void setNotificationCount(int notificationCount) - Mappings:
Namespace Name Mixin selector named setNotificationCount
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;setNotificationCount(I)V
intermediary method_52651
Lnet/minecraft/class_4325$class_8651;method_52651(I)V
official a
Lfak$g;a(I)V
-
renderWidget
- Overrides:
renderWidget
in classTextIconButtonWidget.IconOnly
- 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
Lfhd;b(Lfgs;IIF)V
-
render
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;render(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_52652
Lnet/minecraft/class_4325$class_8651;method_52652(Lnet/minecraft/class_332;)V
official a
Lfak$g;a(Lfgs;)V
-