@Environment(value=CLIENT) public class RealmsNotificationsScreen extends RealmsScreen
Modifier and Type | Field and Description |
---|---|
private static boolean |
checkedMcoAvailability |
private static Identifier |
field_22700 |
private static boolean |
hasUnreadNews |
private static Identifier |
INVITE_ICON |
private int |
numberOfPendingInvites |
private static RealmsDataFetcher |
REALMS_DATA_FETCHER |
private static Identifier |
TRIAL_ICON |
private static boolean |
trialAvailable |
private static boolean |
validClient |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
RealmsNotificationsScreen() |
Modifier and Type | Method and Description |
---|---|
private void |
checkIfMcoEnabled() |
private void |
drawIcons(MatrixStack matrices,
int mouseX,
int mouseY) |
void |
init()
Called when a screen should be initialized.
|
private boolean |
method_25169() |
private boolean |
method_25170() |
void |
removed() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
tick() |
narrateLabels, row
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
mouseMoved
private static final Identifier INVITE_ICON
private static final Identifier TRIAL_ICON
private static final Identifier field_22700
private static final RealmsDataFetcher REALMS_DATA_FETCHER
private static boolean checkedMcoAvailability
private static boolean trialAvailable
private static boolean validClient
private static boolean hasUnreadNews
private volatile int numberOfPendingInvites
public void init()
This method is called when this screen is opened
or resized.
public void tick()
tick
in interface TickableElement
tick
in class RealmsScreen
private boolean method_25169()
private boolean method_25170()
private void checkIfMcoEnabled()
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
private void drawIcons(MatrixStack matrices, int mouseX, int mouseY)