类 RealmsPendingInvitesScreen
- 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.RealmsPendingInvitesScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsPendingInvitesScreen extends RealmsScreen
- Mappings:
Namespace Name official dseintermediary net/minecraft/class_4401named net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classRealmsPendingInvitesScreen.PendingInvitationSelectionList(专用程序包) classRealmsPendingInvitesScreen.PendingInvitationSelectionListEntry
-
字段概要
字段 修饰符和类型 字段 说明 private static IdentifierACCEPT_ICONprivate static TextACCEPT_TEXTprivate ButtonWidgetacceptButtonprivate booleanloadedprivate static LoggerLOGGERprivate static TextNO_PENDING_TEXTprivate Screenparentprivate RealmsPendingInvitesScreen.PendingInvitationSelectionListpendingInvitationSelectionListprivate static IdentifierREJECT_ICONprivate static TextREJECT_TEXTprivate ButtonWidgetrejectButtonprivate intselectedInviteprivate RealmsLabeltitleLabelprivate @Nullable TexttoolTip-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 RealmsPendingInvitesScreen(Screen parent)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidaccept(int slot)voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private voidreject(int slot)voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)protected voidrenderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int int2, int int3)private booleanshouldAcceptAndRejectButtonBeVisible(int invite)private voidupdateButtonStates()private voidupdateList(int slot)-
从类继承的方法 net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row, tick
-
从类继承的方法 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, onClose, removed, 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
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLdse;a:Lorg/apache/logging/log4j/Logger;intermediary field_19935Lnet/minecraft/class_4401;field_19935:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ACCEPT_ICON
private static final Identifier ACCEPT_ICON
- Mappings:
Namespace Name Mixin selector official bLdse;b:Lwp;intermediary field_22702Lnet/minecraft/class_4401;field_22702:Lnet/minecraft/class_2960;named ACCEPT_ICONLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_ICON:Lnet/minecraft/util/Identifier;
-
REJECT_ICON
private static final Identifier REJECT_ICON
- Mappings:
Namespace Name Mixin selector official cLdse;c:Lwp;intermediary field_22703Lnet/minecraft/class_4401;field_22703:Lnet/minecraft/class_2960;named REJECT_ICONLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_ICON:Lnet/minecraft/util/Identifier;
-
NO_PENDING_TEXT
private static final Text NO_PENDING_TEXT
- Mappings:
Namespace Name Mixin selector official TLdse;T:Lon;intermediary field_26493Lnet/minecraft/class_4401;field_26493:Lnet/minecraft/class_2561;named NO_PENDING_TEXTLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;NO_PENDING_TEXT:Lnet/minecraft/text/Text;
-
ACCEPT_TEXT
private static final Text ACCEPT_TEXT
- Mappings:
Namespace Name Mixin selector official ULdse;U:Lon;intermediary field_26494Lnet/minecraft/class_4401;field_26494:Lnet/minecraft/class_2561;named ACCEPT_TEXTLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_TEXT:Lnet/minecraft/text/Text;
-
REJECT_TEXT
private static final Text REJECT_TEXT
- Mappings:
Namespace Name Mixin selector official VLdse;V:Lon;intermediary field_26495Lnet/minecraft/class_4401;field_26495:Lnet/minecraft/class_2561;named REJECT_TEXTLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_TEXT:Lnet/minecraft/text/Text;
-
parent
private final Screen parent
- Mappings:
Namespace Name Mixin selector official WLdse;W:Ldzg;intermediary field_19936Lnet/minecraft/class_4401;field_19936:Lnet/minecraft/class_437;named parentLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
toolTip
@Nullable private @Nullable Text toolTip
- Mappings:
Namespace Name Mixin selector official XLdse;X:Lon;intermediary field_19937Lnet/minecraft/class_4401;field_19937:Lnet/minecraft/class_2561;named toolTipLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;toolTip:Lnet/minecraft/text/Text;
-
loaded
private boolean loaded
- Mappings:
Namespace Name Mixin selector official YLdse;Y:Zintermediary field_19938Lnet/minecraft/class_4401;field_19938:Znamed loadedLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;loaded:Z
-
pendingInvitationSelectionList
private RealmsPendingInvitesScreen.PendingInvitationSelectionList pendingInvitationSelectionList
- Mappings:
Namespace Name Mixin selector official ZLdse;Z:Ldse$b;intermediary field_19939Lnet/minecraft/class_4401;field_19939:Lnet/minecraft/class_4401$class_4402;named pendingInvitationSelectionListLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;pendingInvitationSelectionList:Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen$PendingInvitationSelectionList;
-
titleLabel
private RealmsLabel titleLabel
- Mappings:
Namespace Name Mixin selector official aaLdse;aa:Lfan;intermediary field_19940Lnet/minecraft/class_4401;field_19940:Lnet/minecraft/class_4903;named titleLabelLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;titleLabel:Lnet/minecraft/client/realms/RealmsLabel;
-
selectedInvite
private int selectedInvite
- Mappings:
Namespace Name Mixin selector official abLdse;ab:Iintermediary field_19941Lnet/minecraft/class_4401;field_19941:Inamed selectedInviteLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;selectedInvite:I
-
acceptButton
private ButtonWidget acceptButton
- Mappings:
Namespace Name Mixin selector official acLdse;ac:Ldvw;intermediary field_19942Lnet/minecraft/class_4401;field_19942:Lnet/minecraft/class_4185;named acceptButtonLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;acceptButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
rejectButton
private ButtonWidget rejectButton
- Mappings:
Namespace Name Mixin selector official adLdse;ad:Ldvw;intermediary field_19943Lnet/minecraft/class_4401;field_19943:Lnet/minecraft/class_4185;named rejectButtonLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;rejectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
构造器详细资料
-
RealmsPendingInvitesScreen
public RealmsPendingInvitesScreen(Screen parent)
- Mappings:
Namespace Name Mixin selector official <init>Ldse;<init>(Ldzg;)Vintermediary <init>Lnet/minecraft/class_4401;<init>(Lnet/minecraft/class_437;)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
-
-
方法详细资料
-
init
public void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- 指定者:
keyPressed在接口中Element- 指定者:
keyPressed在接口中ParentElement- 覆盖:
keyPressed在类中Screen- 参数:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
updateList
private void updateList(int slot)
- Mappings:
Namespace Name Mixin selector official aLdse;a(I)Vintermediary method_21300Lnet/minecraft/class_4401;method_21300(I)Vnamed updateListLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;updateList(I)V
-
reject
private void reject(int slot)
- Mappings:
Namespace Name Mixin selector official bLdse;b(I)Vintermediary method_21308Lnet/minecraft/class_4401;method_21308(I)Vnamed rejectLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;reject(I)V
-
accept
private void accept(int slot)
- Mappings:
Namespace Name Mixin selector official cLdse;c(I)Vintermediary method_21311Lnet/minecraft/class_4401;method_21311(I)Vnamed acceptLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;accept(I)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
-
renderMousehoverTooltip
protected void renderMousehoverTooltip(MatrixStack matrices, @Nullable @Nullable Text text, int int2, int int3)
- Mappings:
Namespace Name Mixin selector official aLdse;a(Ldpi;Lon;II)Vintermediary method_21306Lnet/minecraft/class_4401;method_21306(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)Vnamed renderMousehoverTooltipLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;renderMousehoverTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-
updateButtonStates
private void updateButtonStates()
- Mappings:
Namespace Name Mixin selector official iLdse;i()Vintermediary method_21307Lnet/minecraft/class_4401;method_21307()Vnamed updateButtonStatesLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;updateButtonStates()V
-
shouldAcceptAndRejectButtonBeVisible
private boolean shouldAcceptAndRejectButtonBeVisible(int invite)
- Mappings:
Namespace Name Mixin selector official kLdse;k(I)Zintermediary method_21314Lnet/minecraft/class_4401;method_21314(I)Znamed shouldAcceptAndRejectButtonBeVisibleLnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;shouldAcceptAndRejectButtonBeVisible(I)Z
-
-