Package net.minecraft.client.gui.screen
Class Screen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
- All Implemented Interfaces:
Drawable,Element,ParentElement
- Direct Known Subclasses:
AbstractCommandBlockScreen,AddServerScreen,AdvancementsScreen,BackupPromptScreen,BookEditScreen,BookScreen,ChatScreen,ConfirmScreen,ConnectScreen,CreateWorldScreen,CreditsScreen,CustomizeBuffetLevelScreen,CustomizeFlatLevelScreen,DatapackFailureScreen,DeathScreen,DemoScreen,DialogScreen,DirectConnectScreen,DisconnectedScreen,DownloadingTerrainScreen,EditGameRulesScreen,EditWorldScreen,FatalErrorScreen,GameMenuScreen,GameModeSelectionScreen,GameOptionsScreen,HandledScreen,JigsawBlockScreen,LevelLoadingScreen,MultiplayerScreen,MultiplayerWarningScreen,NoticeScreen,OpenToLanScreen,OptimizeWorldScreen,OptionsScreen,OutOfMemoryScreen,PackScreen,PresetsScreen,ProgressScreen,RealmsScreen,SaveLevelScreen,SelectWorldScreen,SignEditScreen,SocialInteractionsScreen,StatsScreen,StructureBlockScreen,TitleScreen
- Mappings:
Namespace Name official eapintermediary net/minecraft/class_437named net/minecraft/client/gui/screen/Screen
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate URIprotected @Nullable MinecraftClientprivate longprivate static intprivate static longprivate static longprivate static longintprotected ItemRendererprivate static Loggerprivate ScreenNarratorprivate static longbooleanprivate static longprivate static Textprivate longprivate List<Selectable>private @Nullable Selectableprotected TextRendererprotected TextintFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends Drawable>
TaddDrawable(T drawable)protected <T extends Element & Drawable & Selectable>
TaddDrawableChild(T drawableElement)protected voidaddElementNarrations(NarrationMessageBuilder builder)protected voidaddScreenNarrations(NarrationMessageBuilder builder)protected <T extends Element & Selectable>
TaddSelectableChild(T child)voidvoidvoidvoidchildren()Gets a list of all child GUI elements.protected voidprivate voidconfirmLink(boolean open)voidfilesDragged(List<Path> paths)findSelectedElementData(List<? extends Selectable> selectables, @Nullable Selectable selectable)getTitle()getTooltipFromItem(ItemStack stack)booleanhandleTextClick(@Nullable Style style)static booleanstatic booleanstatic booleanprotected voidinit()Called when a screen should be initialized.voidinit(MinecraftClient client, int width, int height)protected voidinsertText(String text, boolean override)static booleanisCopy(int code)static booleanisCut(int code)booleanisMouseOver(double mouseX, double mouseY)Checks if the mouse position is within the bound of the element.private booleanstatic booleanisPaste(int code)booleanstatic booleanisSelectAll(int code)protected booleanisValidCharacterForName(String name, char character, int cursorPos)booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private voidnarrateScreen(boolean useTranslationsCache)protected voidnarrateScreenIfNarrationEnabled(boolean useTranslationsCache)voidonClose()private voidprotected voidvoidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidrenderBackground(MatrixStack matrices)Renders the background of this screen.voidrenderBackground(MatrixStack matrices, int vOffset)Renders the background of this screen.voidrenderBackgroundTexture(int vOffset)Renders the fullscreen background texture of this screen.voidrenderOrderedTooltip(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y)protected voidrenderTextHoverEffect(MatrixStack matrices, @Nullable Style style, int x, int y)voidrenderTooltip(MatrixStack matrices, List<Text> lines, int x, int y)voidrenderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)protected voidrenderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)voidrenderTooltip(MatrixStack matrices, Text text, int x, int y)private voidrenderTooltipFromComponents(MatrixStack matrices, List<TooltipComponent> components, int x, int y)voidresize(MinecraftClient client, int width, int height)voidsendMessage(String message)voidsendMessage(String message, boolean toHud)private voidsetElementNarrationDelay(long delayMs)private voidsetScreenNarrationDelay(long delayMs, boolean restartElementNarration)booleanChecks whether this screen should be closed when the escape key is pressed.voidtick()voidstatic voidwrapScreenError(Runnable task, String errorTitle, String screenName)Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLeap;a:Lorg/apache/logging/log4j/Logger;intermediary field_22782Lnet/minecraft/class_437;field_22782:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/Screen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ALLOWED_PROTOCOLS
- Mappings:
Namespace Name Mixin selector official bLeap;b:Ljava/util/Set;intermediary field_22783Lnet/minecraft/class_437;field_22783:Ljava/util/Set;named ALLOWED_PROTOCOLSLnet/minecraft/client/gui/screen/Screen;ALLOWED_PROTOCOLS:Ljava/util/Set;
-
field_32270
private static final int field_32270- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLeap;c:Iintermediary field_32270Lnet/minecraft/class_437;field_32270:Inamed field_32270Lnet/minecraft/client/gui/screen/Screen;field_32270:I
-
SCREEN_USAGE_TEXT
- Mappings:
Namespace Name Mixin selector official nLeap;n:Los;intermediary field_33814Lnet/minecraft/class_437;field_33814:Lnet/minecraft/class_2561;named SCREEN_USAGE_TEXTLnet/minecraft/client/gui/screen/Screen;SCREEN_USAGE_TEXT:Lnet/minecraft/text/Text;
-
SCREEN_INIT_NARRATION_DELAY
private static final long SCREEN_INIT_NARRATION_DELAY- Mappings:
Namespace Name Mixin selector official sLeap;s:Jintermediary field_33817Lnet/minecraft/class_437;field_33817:Jnamed SCREEN_INIT_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;SCREEN_INIT_NARRATION_DELAY:J
-
NARRATOR_MODE_CHANGE_DELAY
private static final long NARRATOR_MODE_CHANGE_DELAY- Mappings:
Namespace Name Mixin selector official tLeap;t:Jintermediary field_33818Lnet/minecraft/class_437;field_33818:Jnamed NARRATOR_MODE_CHANGE_DELAYLnet/minecraft/client/gui/screen/Screen;NARRATOR_MODE_CHANGE_DELAY:J
-
field_33819
private static final long field_33819- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official uLeap;u:Jintermediary field_33819Lnet/minecraft/class_437;field_33819:Jnamed field_33819Lnet/minecraft/client/gui/screen/Screen;field_33819:J
-
field_33820
private static final long field_33820- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official vLeap;v:Jintermediary field_33820Lnet/minecraft/class_437;field_33820:Jnamed field_33820Lnet/minecraft/client/gui/screen/Screen;field_33820:J
-
field_33821
private static final long field_33821- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official wLeap;w:Jintermediary field_33821Lnet/minecraft/class_437;field_33821:Jnamed field_33821Lnet/minecraft/client/gui/screen/Screen;field_33821:J
-
title
- Mappings:
Namespace Name Mixin selector official dLeap;d:Los;intermediary field_22785Lnet/minecraft/class_437;field_22785:Lnet/minecraft/class_2561;named titleLnet/minecraft/client/gui/screen/Screen;title:Lnet/minecraft/text/Text;
-
children
- Mappings:
Namespace Name Mixin selector official oLeap;o:Ljava/util/List;intermediary field_22786Lnet/minecraft/class_437;field_22786:Ljava/util/List;named childrenLnet/minecraft/client/gui/screen/Screen;children:Ljava/util/List;
-
selectables
- Mappings:
Namespace Name Mixin selector official pLeap;p:Ljava/util/List;intermediary field_33815Lnet/minecraft/class_437;field_33815:Ljava/util/List;named selectablesLnet/minecraft/client/gui/screen/Screen;selectables:Ljava/util/List;
-
client
- Mappings:
Namespace Name Mixin selector official eLeap;e:Ldvo;intermediary field_22787Lnet/minecraft/class_437;field_22787:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official iLeap;i:Lesu;intermediary field_22788Lnet/minecraft/class_437;field_22788:Lnet/minecraft/class_918;named itemRendererLnet/minecraft/client/gui/screen/Screen;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
width
public int width- Mappings:
Namespace Name Mixin selector official jLeap;j:Iintermediary field_22789Lnet/minecraft/class_437;field_22789:Inamed widthLnet/minecraft/client/gui/screen/Screen;width:I
-
height
public int height- Mappings:
Namespace Name Mixin selector official kLeap;k:Iintermediary field_22790Lnet/minecraft/class_437;field_22790:Inamed heightLnet/minecraft/client/gui/screen/Screen;height:I
-
drawables
- Mappings:
Namespace Name Mixin selector official qLeap;q:Ljava/util/List;intermediary field_33816Lnet/minecraft/class_437;field_33816:Ljava/util/List;named drawablesLnet/minecraft/client/gui/screen/Screen;drawables:Ljava/util/List;
-
passEvents
public boolean passEvents- Mappings:
Namespace Name Mixin selector official lLeap;l:Zintermediary field_22792Lnet/minecraft/class_437;field_22792:Znamed passEventsLnet/minecraft/client/gui/screen/Screen;passEvents:Z
-
textRenderer
- Mappings:
Namespace Name Mixin selector official mLeap;m:Ldwk;intermediary field_22793Lnet/minecraft/class_437;field_22793:Lnet/minecraft/class_327;named textRendererLnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
clickedLink
- Mappings:
Namespace Name Mixin selector official rLeap;r:Ljava/net/URI;intermediary field_22784Lnet/minecraft/class_437;field_22784:Ljava/net/URI;named clickedLinkLnet/minecraft/client/gui/screen/Screen;clickedLink:Ljava/net/URI;
-
narrator
- Mappings:
Namespace Name Mixin selector official xLeap;x:Ldzf;intermediary field_33822Lnet/minecraft/class_437;field_33822:Lnet/minecraft/class_6385;named narratorLnet/minecraft/client/gui/screen/Screen;narrator:Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;
-
elementNarrationStartTime
private long elementNarrationStartTime- Mappings:
Namespace Name Mixin selector official yLeap;y:Jintermediary field_33823Lnet/minecraft/class_437;field_33823:Jnamed elementNarrationStartTimeLnet/minecraft/client/gui/screen/Screen;elementNarrationStartTime:J
-
screenNarrationStartTime
private long screenNarrationStartTime- Mappings:
Namespace Name Mixin selector official zLeap;z:Jintermediary field_33824Lnet/minecraft/class_437;field_33824:Jnamed screenNarrationStartTimeLnet/minecraft/client/gui/screen/Screen;screenNarrationStartTime:J
-
selected
- Mappings:
Namespace Name Mixin selector official ALeap;A:Ldza;intermediary field_33813Lnet/minecraft/class_437;field_33813:Lnet/minecraft/class_6379;named selectedLnet/minecraft/client/gui/screen/Screen;selected:Lnet/minecraft/client/gui/Selectable;
-
-
Constructor Details
-
Screen
- Mappings:
Namespace Name Mixin selector official <init>Leap;<init>(Los;)Vintermediary <init>Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)V
-
-
Method Details
-
getTitle
- Mappings:
Namespace Name Mixin selector official iLeap;i()Los;intermediary method_25440Lnet/minecraft/class_437;method_25440()Lnet/minecraft/class_2561;named getTitleLnet/minecraft/client/gui/screen/Screen;getTitle()Lnet/minecraft/text/Text;
-
getNarratedTitle
- Mappings:
Namespace Name Mixin selector official af_Leap;af_()Los;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
render
- Specified by:
renderin interfaceDrawable- Mappings:
Namespace Name Mixin selector official aLdxu;a(Ldqk;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
-
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.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Parameters:
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)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdxx;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Mappings:
Namespace Name Mixin selector official ag_Leap;ag_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
onClose
public void onClose()- Mappings:
Namespace Name Mixin selector official ah_Leap;ah_()Vintermediary method_25419Lnet/minecraft/class_437;method_25419()Vnamed onCloseLnet/minecraft/client/gui/screen/Screen;onClose()V
-
addDrawableChild
- Mappings:
Namespace Name Mixin selector official dLeap;d(Ldxx;)Ldxx;intermediary method_37063Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named addDrawableChildLnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
addDrawable
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldxu;)Ldxu;intermediary method_37060Lnet/minecraft/class_437;method_37060(Lnet/minecraft/class_4068;)Lnet/minecraft/class_4068;named addDrawableLnet/minecraft/client/gui/screen/Screen;addDrawable(Lnet/minecraft/client/gui/Drawable;)Lnet/minecraft/client/gui/Drawable;
-
addSelectableChild
- Mappings:
Namespace Name Mixin selector official eLeap;e(Ldxx;)Ldxx;intermediary method_25429Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named addSelectableChildLnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
remove
- Mappings:
Namespace Name Mixin selector official fLeap;f(Ldxx;)Vintermediary method_37066Lnet/minecraft/class_437;method_37066(Lnet/minecraft/class_364;)Vnamed removeLnet/minecraft/client/gui/screen/Screen;remove(Lnet/minecraft/client/gui/Element;)V
-
clearChildren
protected void clearChildren()- Mappings:
Namespace Name Mixin selector official kLeap;k()Vintermediary method_37067Lnet/minecraft/class_437;method_37067()Vnamed clearChildrenLnet/minecraft/client/gui/screen/Screen;clearChildren()V
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldqk;Lbqp;II)Vintermediary method_25409Lnet/minecraft/class_437;method_25409(Lnet/minecraft/class_4587;Lnet/minecraft/class_1799;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/item/ItemStack;II)V
-
renderTooltip
public void renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldqk;Ljava/util/List;Ljava/util/Optional;II)Vintermediary method_32634Lnet/minecraft/class_437;method_32634(Lnet/minecraft/class_4587;Ljava/util/List;Ljava/util/Optional;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;Ljava/util/Optional;II)V
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector official aLeap;a(Lbqp;)Ljava/util/List;intermediary method_25408Lnet/minecraft/class_437;method_25408(Lnet/minecraft/class_1799;)Ljava/util/List;named getTooltipFromItemLnet/minecraft/client/gui/screen/Screen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official bLeap;b(Ldqk;Los;II)Vintermediary method_25424Lnet/minecraft/class_437;method_25424(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official bLeap;b(Ldqk;Ljava/util/List;II)Vintermediary method_30901Lnet/minecraft/class_437;method_30901(Lnet/minecraft/class_4587;Ljava/util/List;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderOrderedTooltip
public void renderOrderedTooltip(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y)- Mappings:
Namespace Name Mixin selector official cLeap;c(Ldqk;Ljava/util/List;II)Vintermediary method_25417Lnet/minecraft/class_437;method_25417(Lnet/minecraft/class_4587;Ljava/util/List;II)Vnamed renderOrderedTooltipLnet/minecraft/client/gui/screen/Screen;renderOrderedTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderTooltipFromComponents
private void renderTooltipFromComponents(MatrixStack matrices, List<TooltipComponent> components, int x, int y)- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldqk;Ljava/util/List;II)Vintermediary method_32633Lnet/minecraft/class_437;method_32633(Lnet/minecraft/class_4587;Ljava/util/List;II)Vnamed renderTooltipFromComponentsLnet/minecraft/client/gui/screen/Screen;renderTooltipFromComponents(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderTextHoverEffect
protected void renderTextHoverEffect(MatrixStack matrices, @Nullable @Nullable Style style, int x, int y)- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldqk;Lpc;II)Vintermediary method_25418Lnet/minecraft/class_437;method_25418(Lnet/minecraft/class_4587;Lnet/minecraft/class_2583;II)Vnamed renderTextHoverEffectLnet/minecraft/client/gui/screen/Screen;renderTextHoverEffect(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Style;II)V
-
insertText
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/lang/String;Z)Vintermediary method_25415Lnet/minecraft/class_437;method_25415(Ljava/lang/String;Z)Vnamed insertTextLnet/minecraft/client/gui/screen/Screen;insertText(Ljava/lang/String;Z)V
-
handleTextClick
- Mappings:
Namespace Name Mixin selector official aLeap;a(Lpc;)Zintermediary method_25430Lnet/minecraft/class_437;method_25430(Lnet/minecraft/class_2583;)Znamed handleTextClickLnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Style;)Z
-
sendMessage
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/lang/String;)Vintermediary method_25427Lnet/minecraft/class_437;method_25427(Ljava/lang/String;)Vnamed sendMessageLnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;)V
-
sendMessage
- Mappings:
Namespace Name Mixin selector official bLeap;b(Ljava/lang/String;Z)Vintermediary method_25425Lnet/minecraft/class_437;method_25425(Ljava/lang/String;Z)Vnamed sendMessageLnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;Z)V
-
init
- Mappings:
Namespace Name Mixin selector official bLeap;b(Ldvo;II)Vintermediary method_25423Lnet/minecraft/class_437;method_25423(Lnet/minecraft/class_310;II)Vnamed initLnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)V
-
children
Gets a list of all child GUI elements.- Specified by:
childrenin interfaceParentElement- Mappings:
Namespace Name Mixin selector official jLdxw;j()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
- Mappings:
Namespace Name Mixin selector official bLeap;b()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official dLeap;d()Vintermediary method_25393Lnet/minecraft/class_437;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/Screen;tick()V
-
removed
public void removed()- Mappings:
Namespace Name Mixin selector official eLeap;e()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vnamed removedLnet/minecraft/client/gui/screen/Screen;removed()V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldqk;)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_4587;)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Parameters:
vOffset- an offset applied to the V coordinate of the background texture- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldqk;I)Vintermediary method_25433Lnet/minecraft/class_437;method_25433(Lnet/minecraft/class_4587;I)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;I)V
-
renderBackgroundTexture
public void renderBackgroundTexture(int vOffset)Renders the fullscreen background texture of this screen.- Parameters:
vOffset- an offset applied to the V coordinate of the background texture- Mappings:
Namespace Name Mixin selector official eLeap;e(I)Vintermediary method_25434Lnet/minecraft/class_437;method_25434(I)Vnamed renderBackgroundTextureLnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(I)V
-
isPauseScreen
public boolean isPauseScreen()- Mappings:
Namespace Name Mixin selector official ai_Leap;ai_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed isPauseScreenLnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-
confirmLink
private void confirmLink(boolean open)- Mappings:
Namespace Name Mixin selector official cLeap;c(Z)Vintermediary method_25428Lnet/minecraft/class_437;method_25428(Z)Vnamed confirmLinkLnet/minecraft/client/gui/screen/Screen;confirmLink(Z)V
-
openLink
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/net/URI;)Vintermediary method_25416Lnet/minecraft/class_437;method_25416(Ljava/net/URI;)Vnamed openLinkLnet/minecraft/client/gui/screen/Screen;openLink(Ljava/net/URI;)V
-
hasControlDown
public static boolean hasControlDown()- Mappings:
Namespace Name Mixin selector official mLeap;m()Zintermediary method_25441Lnet/minecraft/class_437;method_25441()Znamed hasControlDownLnet/minecraft/client/gui/screen/Screen;hasControlDown()Z
-
hasShiftDown
public static boolean hasShiftDown()- Mappings:
Namespace Name Mixin selector official nLeap;n()Zintermediary method_25442Lnet/minecraft/class_437;method_25442()Znamed hasShiftDownLnet/minecraft/client/gui/screen/Screen;hasShiftDown()Z
-
hasAltDown
public static boolean hasAltDown()- Mappings:
Namespace Name Mixin selector official oLeap;o()Zintermediary method_25443Lnet/minecraft/class_437;method_25443()Znamed hasAltDownLnet/minecraft/client/gui/screen/Screen;hasAltDown()Z
-
isCut
public static boolean isCut(int code)- Mappings:
Namespace Name Mixin selector official fLeap;f(I)Zintermediary method_25436Lnet/minecraft/class_437;method_25436(I)Znamed isCutLnet/minecraft/client/gui/screen/Screen;isCut(I)Z
-
isPaste
public static boolean isPaste(int code)- Mappings:
Namespace Name Mixin selector official gLeap;g(I)Zintermediary method_25437Lnet/minecraft/class_437;method_25437(I)Znamed isPasteLnet/minecraft/client/gui/screen/Screen;isPaste(I)Z
-
isCopy
public static boolean isCopy(int code)- Mappings:
Namespace Name Mixin selector official hLeap;h(I)Zintermediary method_25438Lnet/minecraft/class_437;method_25438(I)Znamed isCopyLnet/minecraft/client/gui/screen/Screen;isCopy(I)Z
-
isSelectAll
public static boolean isSelectAll(int code)- Mappings:
Namespace Name Mixin selector official iLeap;i(I)Zintermediary method_25439Lnet/minecraft/class_437;method_25439(I)Znamed isSelectAllLnet/minecraft/client/gui/screen/Screen;isSelectAll(I)Z
-
resize
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldvo;II)Vintermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vnamed resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
wrapScreenError
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)Vintermediary method_25412Lnet/minecraft/class_437;method_25412(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)Vnamed wrapScreenErrorLnet/minecraft/client/gui/screen/Screen;wrapScreenError(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
-
isValidCharacterForName
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/lang/String;CI)Zintermediary method_25414Lnet/minecraft/class_437;method_25414(Ljava/lang/String;CI)Znamed isValidCharacterForNameLnet/minecraft/client/gui/screen/Screen;isValidCharacterForName(Ljava/lang/String;CI)Z
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY)Checks if the mouse position is within the bound of the element.- Specified by:
isMouseOverin interfaceElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouse- Returns:
trueif the mouse is within the bound of the element, otherwisefalse- Mappings:
Namespace Name Mixin selector official a_Ldxx;a_(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Znamed isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
filesDragged
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/util/List;)Vintermediary method_29638Lnet/minecraft/class_437;method_29638(Ljava/util/List;)Vnamed filesDraggedLnet/minecraft/client/gui/screen/Screen;filesDragged(Ljava/util/List;)V
-
setScreenNarrationDelay
private void setScreenNarrationDelay(long delayMs, boolean restartElementNarration)- Mappings:
Namespace Name Mixin selector official aLeap;a(JZ)Vintermediary method_37059Lnet/minecraft/class_437;method_37059(JZ)Vnamed setScreenNarrationDelayLnet/minecraft/client/gui/screen/Screen;setScreenNarrationDelay(JZ)V
-
setElementNarrationDelay
private void setElementNarrationDelay(long delayMs)- Mappings:
Namespace Name Mixin selector official aLeap;a(J)Vintermediary method_37058Lnet/minecraft/class_437;method_37058(J)Vnamed setElementNarrationDelayLnet/minecraft/client/gui/screen/Screen;setElementNarrationDelay(J)V
-
applyMouseMoveNarratorDelay
public void applyMouseMoveNarratorDelay()- Mappings:
Namespace Name Mixin selector official pLeap;p()Vintermediary method_37068Lnet/minecraft/class_437;method_37068()Vnamed applyMouseMoveNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyMouseMoveNarratorDelay()V
-
applyMousePressScrollNarratorDelay
public void applyMousePressScrollNarratorDelay()- Mappings:
Namespace Name Mixin selector official qLeap;q()Vintermediary method_37069Lnet/minecraft/class_437;method_37069()Vnamed applyMousePressScrollNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyMousePressScrollNarratorDelay()V
-
applyKeyPressNarratorDelay
public void applyKeyPressNarratorDelay()- Mappings:
Namespace Name Mixin selector official rLeap;r()Vintermediary method_37070Lnet/minecraft/class_437;method_37070()Vnamed applyKeyPressNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyKeyPressNarratorDelay()V
-
isNarratorActive
private boolean isNarratorActive()- Mappings:
Namespace Name Mixin selector official xLeap;x()Zintermediary method_37073Lnet/minecraft/class_437;method_37073()Znamed isNarratorActiveLnet/minecraft/client/gui/screen/Screen;isNarratorActive()Z
-
updateNarrator
public void updateNarrator()- Mappings:
Namespace Name Mixin selector official sLeap;s()Vintermediary method_37071Lnet/minecraft/class_437;method_37071()Vnamed updateNarratorLnet/minecraft/client/gui/screen/Screen;updateNarrator()V
-
narrateScreenIfNarrationEnabled
protected void narrateScreenIfNarrationEnabled(boolean useTranslationsCache)- Mappings:
Namespace Name Mixin selector official dLeap;d(Z)Vintermediary method_37064Lnet/minecraft/class_437;method_37064(Z)Vnamed narrateScreenIfNarrationEnabledLnet/minecraft/client/gui/screen/Screen;narrateScreenIfNarrationEnabled(Z)V
-
narrateScreen
private void narrateScreen(boolean useTranslationsCache)- Mappings:
Namespace Name Mixin selector official eLeap;e(Z)Vintermediary method_37065Lnet/minecraft/class_437;method_37065(Z)Vnamed narrateScreenLnet/minecraft/client/gui/screen/Screen;narrateScreen(Z)V
-
addScreenNarrations
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldzc;)Vintermediary method_37062Lnet/minecraft/class_437;method_37062(Lnet/minecraft/class_6382;)Vnamed addScreenNarrationsLnet/minecraft/client/gui/screen/Screen;addScreenNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
addElementNarrations
- Mappings:
Namespace Name Mixin selector official bLeap;b(Ldzc;)Vintermediary method_37056Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)Vnamed addElementNarrationsLnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
findSelectedElementData
@Nullable public static @Nullable Screen.SelectedElementNarrationData findSelectedElementData(List<? extends Selectable> selectables, @Nullable @Nullable Selectable selectable)- Mappings:
Namespace Name Mixin selector official aLeap;a(Ljava/util/List;Ldza;)Leap$a;intermediary method_37061Lnet/minecraft/class_437;method_37061(Ljava/util/List;Lnet/minecraft/class_6379;)Lnet/minecraft/class_437$class_6390;named findSelectedElementDataLnet/minecraft/client/gui/screen/Screen;findSelectedElementData(Ljava/util/List;Lnet/minecraft/client/gui/Selectable;)Lnet/minecraft/client/gui/screen/Screen$SelectedElementNarrationData;
-
applyNarratorModeChangeDelay
public void applyNarratorModeChangeDelay()- Mappings:
Namespace Name Mixin selector official tLeap;t()Vintermediary method_37072Lnet/minecraft/class_437;method_37072()Vnamed applyNarratorModeChangeDelayLnet/minecraft/client/gui/screen/Screen;applyNarratorModeChangeDelay()V
-