Package net.minecraft.client.gui.screens
Class PauseScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.PauseScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.DeferredTooltipRendering, Screen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final intprivate static final intprivate static final intprivate static final intprivate Buttonprivate static final ResourceLocationprivate static final Componentprivate static final intprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate final booleanprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprotected voidinit()private voidprivate ButtonopenLinkButton(Component p_262593_, String p_262659_) private ButtonopenScreenButton(Component p_262567_, Supplier<Screen> p_262581_) voidrender(GuiGraphics p_281899_, int p_281431_, int p_283183_, float p_281435_) voidrenderBackground(GuiGraphics p_299656_, int p_297892_, int p_299995_, float p_300532_) booleanvoidtick()Methods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
DRAFT_REPORT_SPRITE
- 
COLUMNSprivate static final int COLUMNS- See Also:
 
- 
MENU_PADDING_TOPprivate static final int MENU_PADDING_TOP- See Also:
 
- 
BUTTON_PADDINGprivate static final int BUTTON_PADDING- See Also:
 
- 
BUTTON_WIDTH_FULLprivate static final int BUTTON_WIDTH_FULL- See Also:
 
- 
BUTTON_WIDTH_HALFprivate static final int BUTTON_WIDTH_HALF- See Also:
 
- 
RETURN_TO_GAME
- 
ADVANCEMENTS
- 
STATS
- 
SEND_FEEDBACK
- 
REPORT_BUGS
- 
OPTIONS
- 
SHARE_TO_LAN
- 
PLAYER_REPORTING
- 
RETURN_TO_MENU
- 
SAVING_LEVEL
- 
GAME
- 
PAUSED
- 
showPauseMenuprivate final boolean showPauseMenu
- 
disconnectButton
 
- 
- 
Constructor Details- 
PauseScreenpublic PauseScreen(boolean p_96308_) 
 
- 
- 
Method Details- 
showsPauseMenupublic boolean showsPauseMenu()
- 
initprotected void init()
- 
createPauseMenuprivate void createPauseMenu()
- 
onDisconnectprivate void onDisconnect()
- 
tickpublic void tick()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
openScreenButton
- 
openLinkButton
 
-