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 official eqm$gintermediary net/minecraft/class_4325$class_8651named net/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget
TextIconButtonWidget.Builder, TextIconButtonWidget.IconOnly, TextIconButtonWidget.WithTextNested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.NarrationSupplier, ButtonWidget.PressActionNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate intprivate static final intprivate static final intprivate static final Identifier[]Fields inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget
texture, textureHeight, textureWidthFields inherited from class net.minecraft.client.gui.widget.ButtonWidget
DEFAULT_HEIGHT, DEFAULT_NARRATION_SUPPLIER, DEFAULT_WIDTH, DEFAULT_WIDTH_SMALL, field_46856, narrationSupplier, onPressFields inherited from class net.minecraft.client.gui.widget.PressableWidget
field_43050Fields 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
ConstructorsConstructorDescriptionNotificationButtonWidget(Text message, Identifier texture, ButtonWidget.PressAction onPress) -
Method Summary
Modifier and TypeMethodDescription(package private) intprivate voidrender(DrawContext context) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) voidsetNotificationCount(int notificationCount) Methods inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget.IconOnly
drawMessageMethods inherited from class net.minecraft.client.gui.widget.TextIconButtonWidget
builderMethods inherited from class net.minecraft.client.gui.widget.ButtonWidget
appendClickableNarrations, builder, getNarrationMessage, onPressMethods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, onClickMethods 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, 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, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector official dLeqm$g;d:[Lahg;intermediary field_45227Lnet/minecraft/class_4325$class_8651;field_45227:[Lnet/minecraft/class_2960;named TEXTURESLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;TEXTURES:[Lnet/minecraft/util/Identifier;
-
field_45228
private static final int field_45228- See Also:
- Mappings:
Namespace Name Mixin selector official tLeqm$g;t:Iintermediary field_45228Lnet/minecraft/class_4325$class_8651;field_45228:Inamed field_45228Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;field_45228:I
-
SIZE
private static final int SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official uLeqm$g;u:Iintermediary field_45229Lnet/minecraft/class_4325$class_8651;field_45229:Inamed SIZELnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;SIZE:I
-
TEXTURE_SIZE
private static final int TEXTURE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official vLeqm$g;v:Iintermediary field_45230Lnet/minecraft/class_4325$class_8651;field_45230:Inamed TEXTURE_SIZELnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;TEXTURE_SIZE:I
-
notificationCount
private int notificationCount- Mappings:
Namespace Name Mixin selector official wLeqm$g;w:Iintermediary field_45231Lnet/minecraft/class_4325$class_8651;field_45231:Inamed notificationCountLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;notificationCount:I
-
-
Constructor Details
-
NotificationButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Leqm$g;<init>(Lvf;Lahg;Lexg$c;)Vintermediary <init>Lnet/minecraft/class_4325$class_8651;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)Vnamed <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
-
-
Method Details
-
getNotificationCount
int getNotificationCount()- Mappings:
Namespace Name Mixin selector official aLeqm$g;a()Iintermediary method_53794Lnet/minecraft/class_4325$class_8651;method_53794()Inamed getNotificationCountLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;getNotificationCount()I
-
setNotificationCount
public void setNotificationCount(int notificationCount) - Mappings:
Namespace Name Mixin selector official aLeqm$g;a(I)Vintermediary method_52651Lnet/minecraft/class_4325$class_8651;method_52651(I)Vnamed setNotificationCountLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;setNotificationCount(I)V
-
renderWidget
- Overrides:
renderWidgetin classTextIconButtonWidget.IconOnly- Mappings:
Namespace Name Mixin selector official bLexe;b(Lewu;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vnamed renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
render
- Mappings:
Namespace Name Mixin selector official aLeqm$g;a(Lewu;)Vintermediary method_52652Lnet/minecraft/class_4325$class_8651;method_52652(Lnet/minecraft/class_332;)Vnamed renderLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;render(Lnet/minecraft/client/gui/DrawContext;)V
-