类 RealmsSubscriptionInfoScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsSubscriptionInfoScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final Component
private Component
private final Screen
(专用程序包) static final org.slf4j.Logger
(专用程序包) final Screen
private static final Component
(专用程序包) final RealmsServer
private Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private Subscription.SubscriptionType
private static final Component
从类继承的字段 net.minecraft.realms.RealmsScreen
COLOR_BLACK, COLOR_BRIGHT_YELLOW, COLOR_BUTTON_YELLOW, COLOR_DARK_GRAY, COLOR_DARK_GREEN, COLOR_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, COLOR_RED, COLOR_RED_FADE, COLOR_WHITE, COLOR_YELLOW, COMPONENT_HEIGHT, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT, UPDATE_BREAKS_ADVENTURE_URL
从类继承的字段 net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明RealmsSubscriptionInfoScreen
(Screen pLastScreen, RealmsServer pServerData, Screen pMainScreen) -
方法概要
修饰符和类型方法说明private Component
daysLeftPresentation
(int pDaysLeft) private void
deleteRealm
(boolean p_90012_) private void
getSubscription
(long pServerId) void
init()
boolean
keyPressed
(int pKeyCode, int pScanCode, int pModifiers) private static Component
localPresentation
(long pTime) void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) 从类继承的方法 net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
LOGGER
static final org.slf4j.Logger LOGGER -
SUBSCRIPTION_TITLE
-
SUBSCRIPTION_START_LABEL
-
TIME_LEFT_LABEL
-
DAYS_LEFT_LABEL
-
SUBSCRIPTION_EXPIRED_TEXT
-
SUBSCRIPTION_LESS_THAN_A_DAY_TEXT
-
UNKNOWN
-
RECURRING_INFO
-
lastScreen
-
serverData
-
mainScreen
-
daysLeft
-
startDate
-
type
-
-
构造器详细资料
-
RealmsSubscriptionInfoScreen
public RealmsSubscriptionInfoScreen(Screen pLastScreen, RealmsServer pServerData, Screen pMainScreen)
-
-
方法详细资料
-
init
public void init() -
getNarrationMessage
- 覆盖:
getNarrationMessage
在类中Screen
-
deleteRealm
private void deleteRealm(boolean p_90012_) -
getSubscription
private void getSubscription(long pServerId) -
localPresentation
-
keyPressed
public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers) - 指定者:
keyPressed
在接口中ContainerEventHandler
- 指定者:
keyPressed
在接口中GuiEventListener
- 覆盖:
keyPressed
在类中Screen
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
daysLeftPresentation
-