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/SleepingChatScreenintermediary net/minecraft/class_423official glw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.ChatScreen
ChatScreen.CloseReason, ChatScreen.Factory<T extends ChatScreen>Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.screen.ChatScreen
chatField, chatInputSuggestor, closeReason, draft, originalChatText, SHIFT_SCROLL_AMOUNTFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCallback for when a character input has been captured.voidclose()voidprotected voidinit()Called when a screen should be initialized.booleankeyPressed(KeyInput input) Callback for when a key down event has been captured.voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) private voidMethods inherited from class net.minecraft.client.gui.screen.ChatScreen
addScreenNarrations, insertText, keepOpenThroughPortal, mouseClicked, mouseScrolled, normalize, removed, renderBackground, resize, sendMessage, setChatFromHistory, setInitialFocus, shouldNotSaveDraft, shouldPauseMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, isMouseOver, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, showsStatusEffects, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, setFocused
-
Field Details
-
stopSleepingButton
- Mappings:
Namespace Name Mixin selector named stopSleepingButtonLnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleepingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_41710Lnet/minecraft/class_423;field_41710:Lnet/minecraft/class_4185;official fLglw;f:Lgdp;
-
-
Constructor Details
-
SleepingChatScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ChatScreen;<init>(Ljava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_408;<init>(Ljava/lang/String;Z)Vofficial <init>Lglg;<init>(Ljava/lang/String;Z)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
- Overrides:
initin classChatScreen- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial bg_Lgmj;bg_()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classChatScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLget;a(Lgdd;IIF)V
-
close
public void close()- Overrides:
closein classChatScreen- Mappings:
Namespace Name Mixin selector named closeLnet/minecraft/client/gui/screen/Screen;close()Vintermediary method_25419Lnet/minecraft/class_437;method_25419()Vofficial aX_Lgmj;aX_()V
-
charTyped
Callback for when a character input has been captured. The key code is identified by the constants inGLFWclass.- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named charTypedLnet/minecraft/client/gui/Element;charTyped(Lnet/minecraft/client/input/CharInput;)Zintermediary method_25400Lnet/minecraft/class_364;method_25400(Lnet/minecraft/class_11905;)Zofficial aLggw;a(Lgte;)Z
-
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classChatScreen- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLggw;a(Lgth;)Z
-
stopSleeping
private void stopSleeping()- Mappings:
Namespace Name Mixin selector named stopSleepingLnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleeping()Vintermediary method_2180Lnet/minecraft/class_423;method_2180()Vofficial pLglw;p()V
-
closeChatIfEmpty
public void closeChatIfEmpty()- Mappings:
Namespace Name Mixin selector named closeChatIfEmptyLnet/minecraft/client/gui/screen/SleepingChatScreen;closeChatIfEmpty()Vintermediary method_38530Lnet/minecraft/class_423;method_38530()Vofficial oLglw;o()V
-