类 RealmsNotificationsScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.realms.gui.screen.RealmsScreen
-
- net.minecraft.client.realms.gui.screen.RealmsNotificationsScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsNotificationsScreen extends RealmsScreen
- Mappings:
Namespace Name official dscintermediary net/minecraft/class_4399named net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private static booleancheckedMcoAvailabilityprivate static booleanhasUnreadNewsprivate static IdentifierINVITE_ICONprivate static IdentifierNEWS_NOTIFICATIONprivate intnumberOfPendingInvitesprivate static RealmsDataFetcherREALMS_DATA_FETCHERprivate static IdentifierTRIAL_ICONprivate static booleantrialAvailableprivate static booleanvalidClient-
从类继承的字段 net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33044, field_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33058, field_33059, field_33060, field_33061, field_33062, field_33063, field_33064, field_33065
-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 RealmsNotificationsScreen()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidcheckIfMcoEnabled()private voiddrawIcons(MatrixStack matrices, int mouseX, int mouseY)voidinit()Called when a screen should be initialized.private booleanmethod_25169()private booleanmethod_25170()voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidtick()-
从类继承的方法 net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row
-
从类继承的方法 net.minecraft.client.gui.screen.Screen
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, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
INVITE_ICON
private static final Identifier INVITE_ICON
- Mappings:
Namespace Name Mixin selector official aLdsc;a:Lwp;intermediary field_22698Lnet/minecraft/class_4399;field_22698:Lnet/minecraft/class_2960;named INVITE_ICONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;INVITE_ICON:Lnet/minecraft/util/Identifier;
-
TRIAL_ICON
private static final Identifier TRIAL_ICON
- Mappings:
Namespace Name Mixin selector official bLdsc;b:Lwp;intermediary field_22699Lnet/minecraft/class_4399;field_22699:Lnet/minecraft/class_2960;named TRIAL_ICONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;TRIAL_ICON:Lnet/minecraft/util/Identifier;
-
NEWS_NOTIFICATION
private static final Identifier NEWS_NOTIFICATION
- Mappings:
Namespace Name Mixin selector official cLdsc;c:Lwp;intermediary field_22700Lnet/minecraft/class_4399;field_22700:Lnet/minecraft/class_2960;named NEWS_NOTIFICATIONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;NEWS_NOTIFICATION:Lnet/minecraft/util/Identifier;
-
REALMS_DATA_FETCHER
private static final RealmsDataFetcher REALMS_DATA_FETCHER
- Mappings:
Namespace Name Mixin selector official TLdsc;T:Ldrm;intermediary field_19923Lnet/minecraft/class_4399;field_19923:Lnet/minecraft/class_4360;named REALMS_DATA_FETCHERLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;REALMS_DATA_FETCHER:Lnet/minecraft/client/realms/gui/RealmsDataFetcher;
-
checkedMcoAvailability
private static boolean checkedMcoAvailability
- Mappings:
Namespace Name Mixin selector official VLdsc;V:Zintermediary field_19925Lnet/minecraft/class_4399;field_19925:Znamed checkedMcoAvailabilityLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkedMcoAvailability:Z
-
trialAvailable
private static boolean trialAvailable
- Mappings:
Namespace Name Mixin selector official WLdsc;W:Zintermediary field_19926Lnet/minecraft/class_4399;field_19926:Znamed trialAvailableLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Z
-
validClient
private static boolean validClient
- Mappings:
Namespace Name Mixin selector official XLdsc;X:Zintermediary field_19927Lnet/minecraft/class_4399;field_19927:Znamed validClientLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;validClient:Z
-
hasUnreadNews
private static boolean hasUnreadNews
- Mappings:
Namespace Name Mixin selector official YLdsc;Y:Zintermediary field_19928Lnet/minecraft/class_4399;field_19928:Znamed hasUnreadNewsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Z
-
numberOfPendingInvites
private volatile int numberOfPendingInvites
- Mappings:
Namespace Name Mixin selector official ULdsc;U:Iintermediary field_19924Lnet/minecraft/class_4399;field_19924:Inamed numberOfPendingInvitesLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;numberOfPendingInvites:I
-
-
方法详细资料
-
init
public void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
tick
public void tick()
- 指定者:
tick在接口中TickableElement- 覆盖:
tick在类中RealmsScreen- Mappings:
Namespace Name Mixin selector official dLdwp;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
method_25169
private boolean method_25169()
- Mappings:
Namespace Name Mixin selector official hLdsc;h()Zintermediary method_25169Lnet/minecraft/class_4399;method_25169()Znamed method_25169Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;method_25169()Z
-
method_25170
private boolean method_25170()
- Mappings:
Namespace Name Mixin selector official iLdsc;i()Zintermediary method_25170Lnet/minecraft/class_4399;method_25170()Znamed method_25170Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;method_25170()Z
-
checkIfMcoEnabled
private void checkIfMcoEnabled()
- Mappings:
Namespace Name Mixin selector official kLdsc;k()Vintermediary method_21294Lnet/minecraft/class_4399;method_21294()Vnamed checkIfMcoEnabledLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkIfMcoEnabled()V
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawIcons
private void drawIcons(MatrixStack matrices, int mouseX, int mouseY)
- Mappings:
Namespace Name Mixin selector official aLdsc;a(Ldpi;II)Vintermediary method_21295Lnet/minecraft/class_4399;method_21295(Lnet/minecraft/class_4587;II)Vnamed drawIconsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;drawIcons(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
-