net.minecraft.client.realms.gui.screen

class RealmsMainScreen$NotificationButtonWidget

extends TextIconButtonWidget$IconOnly

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

com.mojang.realmsclient.RealmsMainScreen$NotificationButton
net.minecraft.class_4325$class_8651
net.minecraft.client.realms.gui.screen.RealmsMainScreen$NotificationButtonWidget

Field summary

Modifier and TypeField
private static final Identifier[]
NOTIFICATION_ICONS
field_45227
TEXTURES
private static final int
UNKNOWN_COUNT
field_45228
field_45228
private static final int
SIZE
field_45229
SIZE
private static final int
SPRITE_SIZE
field_45230
TEXTURE_SIZE
private int
notificationCount
field_45231
notificationCount

Constructor summary

ModifierConstructor
public (Text message, Identifier texture, ButtonWidget$PressAction onPress, Text tooltip)

Method summary

Modifier and TypeMethod
private int
notificationCount()
method_53794()
getNotificationCount()
public void
setNotificationCount(int notificationCount)
method_52651(int arg0)
setNotificationCount(int notificationCount)
public void
extractContents(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_75752(class_332 arg0, int arg1, int arg2, float arg3)
drawIcon(DrawContext arg0, int arg1, int arg2, float arg3)
private void
extractNotificationCounter(GuiGraphicsExtractor graphics)
method_52652(class_332 arg0)
render(DrawContext context)