Package net.minecraft.client.gui.screen
Class SleepingChatScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ChatScreen
net.minecraft.client.gui.screen.SleepingChatScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/screen/SleepingChatScreen- intermediary - net/minecraft/class_423- official - ftz
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.gui.screen.ChatScreenchatField, chatInputSuggestor, SHIFT_SCROLL_AMOUNTFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancharTyped(char chr, int modifiers) Callback for when a character input has been captured.voidclose()voidprotected 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.voidrender(DrawContext context, int mouseX, int mouseY, float delta) private voidMethods inherited from class net.minecraft.client.gui.screen.ChatScreenaddScreenNarrations, insertText, mouseClicked, mouseScrolled, normalize, removed, renderBackground, resize, sendMessage, setChatFromHistory, setInitialFocus, shouldPauseMethods inherited from class net.minecraft.client.gui.screen.ScreenaddCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, 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.ElementgetBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementgetFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, setFocused
- 
Field Details- 
stopSleepingButton- Mappings:
- Namespace - Name - Mixin selector - named - stopSleepingButton- Lnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleepingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;- intermediary - field_41710- Lnet/minecraft/class_423;field_41710:Lnet/minecraft/class_4185;- official - c- Lftz;c:Lfou;
 
 
- 
- 
Constructor Details- 
SleepingChatScreenpublic SleepingChatScreen()
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. - Overrides:
- initin class- ChatScreen
- Mappings:
- Namespace - Name - Mixin selector - named - init- Lnet/minecraft/client/gui/screen/Screen;init()V- intermediary - method_25426- Lnet/minecraft/class_437;method_25426()V- official - aR_- Lfum;aR_()V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- ChatScreen
- Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- official - a- Lfpx;a(Lfof;IIF)V
 
- 
closepublic void close()
- 
charTypedpublic boolean charTyped(char chr, int modifiers) Callback for when a character input has been captured. The key code is identified by the constants inGLFWclass.- Parameters:
- chr- the captured character
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - charTyped- Lnet/minecraft/client/gui/Element;charTyped(CI)Z- intermediary - method_25400- Lnet/minecraft/class_364;method_25400(CI)Z- official - a- Lfqr;a(CI)Z
 
- 
keyPressedpublic 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.- Specified by:
- keyPressedin interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Overrides:
- keyPressedin class- ChatScreen
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- official - a- Lfqr;a(III)Z
 
- 
stopSleepingprivate void stopSleeping()- Mappings:
- Namespace - Name - Mixin selector - named - stopSleeping- Lnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleeping()V- intermediary - method_2180- Lnet/minecraft/class_423;method_2180()V- official - E- Lftz;E()V
 
- 
closeChatIfEmptypublic void closeChatIfEmpty()- Mappings:
- Namespace - Name - Mixin selector - named - closeChatIfEmpty- Lnet/minecraft/client/gui/screen/SleepingChatScreen;closeChatIfEmpty()V- intermediary - method_38530- Lnet/minecraft/class_423;method_38530()V- official - m- Lftz;m()V
 
 
-