Package net.minecraft.client.gui.screen
Class Screen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Direct Known Subclasses:
AbstractCommandBlockScreen,AbstractSignEditScreen,AbuseReportReasonScreen,AbuseReportTypeScreen,AccessibilityOnboardingScreen,AddServerScreen,AdvancementsScreen,BackupPromptScreen,BookEditScreen,BookScreen,BookSigningScreen,ChatScreen,ChatSelectionScreen,ConfirmScreen,ConnectScreen,CreateWorldScreen,CreditsAndAttributionScreen,CreditsScreen,CustomizeBuffetLevelScreen,CustomizeFlatLevelScreen,DataPackFailureScreen,DeathScreen,DemoScreen,DialogScreen,DirectConnectScreen,DisconnectedScreen,DownloadingTerrainScreen,EditGameRulesScreen,EditWorldScreen,ExperimentalWarningScreen,ExperimentalWarningScreen.DetailsScreen,ExperimentsScreen,FatalErrorScreen,GameMenuScreen,GameMenuScreen.FeedbackScreen,GameModeSwitcherScreen,GameOptionsScreen,GraphicsWarningScreen,HandledScreen,JigsawBlockScreen,LevelLoadingScreen,MessageScreen,MultiplayerScreen,NoticeScreen,OpenToLanScreen,OptimizeWorldScreen,OptionsScreen,OutOfMemoryScreen,PackScreen,PopupScreen,PresetsScreen,ProgressScreen,RealmsRegionPreferenceScreen,RealmsScreen,ReconfiguringScreen,RecoverWorldScreen,ReportScreen,SelectWorldScreen,SocialInteractionsScreen,StatsScreen,StructureBlockScreen,SymlinkWarningScreen,TaskScreen,TelemetryInfoScreen,TestBlockScreen,TestInstanceBlockScreen,TitleScreen,WaitingForResponseScreen,WarningScreen
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/Screenintermediary net/minecraft/class_437official ges
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable MinecraftClientprivate longprotected final Executorprotected static final floatstatic final Identifierstatic final Identifierintstatic final Identifierstatic final Identifierprivate static final Identifierprivate static final longprivate static final Loggerstatic final Identifierprivate static final longprivate static final longprivate final ScreenNarratorprivate static final longprotected @Nullable CyclingButtonWidget<NarratorMode> private static final longprivate static final Textprivate booleanprivate longprivate final List<Selectable> private @Nullable Selectableprotected TextRendererprotected final TextintFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCrashReportSection(CrashReport report) protected <T extends Drawable>
TaddDrawable(T drawable) protected <T extends Element & Drawable & Selectable>
TaddDrawableChild(T drawableElement) protected voidprotected voidaddScreenNarrations(NarrationMessageBuilder messageBuilder) protected <T extends Element & Selectable>
TaddSelectableChild(T child) protected voidapplyBlur(DrawContext context) voidvoidvoidvoidblur()children()Gets a list of all child GUI elements.protected voidprotected voidvoidclose()findSelectedElementData(List<? extends Selectable> selectables, @Nullable Selectable selectable) private GuiNavigation.ArrowgetArrowNavigation(NavigationDirection direction) getMusic()private GuiNavigation.TabgetTitle()getTooltipFromItem(MinecraftClient client, ItemStack stack) protected Textprotected static voidhandleBasicClickEvent(ClickEvent clickEvent, MinecraftClient client, @Nullable Screen screenAfterRun) protected voidhandleClickEvent(MinecraftClient client, ClickEvent clickEvent) protected static voidhandleClickEvent(ClickEvent clickEvent, MinecraftClient client, @Nullable Screen screenAfterRun) protected static booleanhandleOpenUri(MinecraftClient client, @Nullable Screen screen, URI uri) protected static voidhandleRunCommand(ClientPlayerEntity player, String command, @Nullable Screen screenAfterRun) booleanhandleTextClick(Style style) static booleanstatic booleanstatic booleanprotected booleanprotected voidinit()Called when a screen should be initialized.final 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) static 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 onlyChangedNarrations) voidnarrateScreenIfNarrationEnabled(boolean onlyChangedNarrations) If narration is enabled, narrates the elements of this screen.voidCalled when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeinit()oris called.invalid reference
#initTabNavigation()voidonFilesDropped(List<Path> paths) voidrefreshNarrator(boolean previouslyDisabled) protected voidprotected voidvoidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.static voidrenderBackgroundTexture(DrawContext context, Identifier texture, int x, int y, float u, float v, int width, int height) protected voidrenderDarkening(DrawContext context) protected voidrenderDarkening(DrawContext context, int x, int y, int width, int height) voidrenderInGameBackground(DrawContext context) Renders the translucent background gradient used as the in-game screen background.protected voidrenderPanoramaBackground(DrawContext context, float deltaTicks) final voidrenderWithTooltip(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidresize(MinecraftClient client, int width, int height) private voidsetElementNarrationDelay(long delayMs) protected voidThis should be overridden with a call tosetInitialFocus(Element)to set the element that is initially focused.protected voidsetInitialFocus(Element element) Sets the initial focus of this screen.private voidsetScreenNarrationDelay(long delayMs, boolean restartElementNarration) protected voidsetWidgetAlpha(float alpha) booleanChecks whether this screen should be closed when the escape key is pressed.booleanbooleanprotected voidswitchFocus(GuiNavigationPath path) Switches focus from the currently focused element, if any, topath.voidtick()voidMethods 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, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/Screen;LOGGER:Lorg/slf4j/Logger;intermediary field_22782Lnet/minecraft/class_437;field_22782:Lorg/slf4j/Logger;official aLges;a:Lorg/slf4j/Logger;
-
SCREEN_USAGE_TEXT
- Mappings:
Namespace Name Mixin selector named SCREEN_USAGE_TEXTLnet/minecraft/client/gui/screen/Screen;SCREEN_USAGE_TEXT:Lnet/minecraft/text/Text;intermediary field_33814Lnet/minecraft/class_437;field_33814:Lnet/minecraft/class_2561;official bLges;b:Lxo;
-
MENU_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named MENU_BACKGROUND_TEXTURELnet/minecraft/client/gui/screen/Screen;MENU_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49511Lnet/minecraft/class_437;field_49511:Lnet/minecraft/class_2960;official gLges;g:Lame;
-
HEADER_SEPARATOR_TEXTURE
- Mappings:
Namespace Name Mixin selector named HEADER_SEPARATOR_TEXTURELnet/minecraft/client/gui/screen/Screen;HEADER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49895Lnet/minecraft/class_437;field_49895:Lnet/minecraft/class_2960;official hLges;h:Lame;
-
FOOTER_SEPARATOR_TEXTURE
- Mappings:
Namespace Name Mixin selector named FOOTER_SEPARATOR_TEXTURELnet/minecraft/client/gui/screen/Screen;FOOTER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49896Lnet/minecraft/class_437;field_49896:Lnet/minecraft/class_2960;official iLges;i:Lame;
-
INWORLD_MENU_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named INWORLD_MENU_BACKGROUND_TEXTURELnet/minecraft/client/gui/screen/Screen;INWORLD_MENU_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49894Lnet/minecraft/class_437;field_49894:Lnet/minecraft/class_2960;official cLges;c:Lame;
-
INWORLD_HEADER_SEPARATOR_TEXTURE
- Mappings:
Namespace Name Mixin selector named INWORLD_HEADER_SEPARATOR_TEXTURELnet/minecraft/client/gui/screen/Screen;INWORLD_HEADER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49897Lnet/minecraft/class_437;field_49897:Lnet/minecraft/class_2960;official jLges;j:Lame;
-
INWORLD_FOOTER_SEPARATOR_TEXTURE
- Mappings:
Namespace Name Mixin selector named INWORLD_FOOTER_SEPARATOR_TEXTURELnet/minecraft/client/gui/screen/Screen;INWORLD_FOOTER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49898Lnet/minecraft/class_437;field_49898:Lnet/minecraft/class_2960;official kLges;k:Lame;
-
field_60460
protected static final float field_60460- See Also:
- Mappings:
Namespace Name Mixin selector named field_60460Lnet/minecraft/client/gui/screen/Screen;field_60460:Fintermediary field_60460Lnet/minecraft/class_437;field_60460:Fofficial lLges;l:F
-
SCREEN_INIT_NARRATION_DELAY
private static final long SCREEN_INIT_NARRATION_DELAY- Mappings:
Namespace Name Mixin selector named SCREEN_INIT_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;SCREEN_INIT_NARRATION_DELAY:Jintermediary field_33817Lnet/minecraft/class_437;field_33817:Jofficial vLges;v:J
-
NARRATOR_MODE_CHANGE_DELAY
private static final long NARRATOR_MODE_CHANGE_DELAY- Mappings:
Namespace Name Mixin selector named NARRATOR_MODE_CHANGE_DELAYLnet/minecraft/client/gui/screen/Screen;NARRATOR_MODE_CHANGE_DELAY:Jintermediary field_33818Lnet/minecraft/class_437;field_33818:Jofficial wLges;w:J
-
MOUSE_MOVE_NARRATION_DELAY
private static final long MOUSE_MOVE_NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named MOUSE_MOVE_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;MOUSE_MOVE_NARRATION_DELAY:Jintermediary field_33819Lnet/minecraft/class_437;field_33819:Jofficial xLges;x:J
-
MOUSE_PRESS_SCROLL_NARRATION_DELAY
private static final long MOUSE_PRESS_SCROLL_NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named MOUSE_PRESS_SCROLL_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;MOUSE_PRESS_SCROLL_NARRATION_DELAY:Jintermediary field_33820Lnet/minecraft/class_437;field_33820:Jofficial yLges;y:J
-
KEY_PRESS_NARRATION_DELAY
private static final long KEY_PRESS_NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named KEY_PRESS_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;KEY_PRESS_NARRATION_DELAY:Jintermediary field_33821Lnet/minecraft/class_437;field_33821:Jofficial zLges;z:J
-
title
- Mappings:
Namespace Name Mixin selector named titleLnet/minecraft/client/gui/screen/Screen;title:Lnet/minecraft/text/Text;intermediary field_22785Lnet/minecraft/class_437;field_22785:Lnet/minecraft/class_2561;official mLges;m:Lxo;
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/screen/Screen;children:Ljava/util/List;intermediary field_22786Lnet/minecraft/class_437;field_22786:Ljava/util/List;official dLges;d:Ljava/util/List;
-
selectables
- Mappings:
Namespace Name Mixin selector named selectablesLnet/minecraft/client/gui/screen/Screen;selectables:Ljava/util/List;intermediary field_33815Lnet/minecraft/class_437;field_33815:Ljava/util/List;official eLges;e:Ljava/util/List;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;intermediary field_22787Lnet/minecraft/class_437;field_22787:Lnet/minecraft/class_310;official nLges;n:Lfud;
-
screenInitialized
private boolean screenInitialized- Mappings:
Namespace Name Mixin selector named screenInitializedLnet/minecraft/client/gui/screen/Screen;screenInitialized:Zintermediary field_42156Lnet/minecraft/class_437;field_42156:Zofficial fLges;f:Z
-
width
public int width- Mappings:
Namespace Name Mixin selector named widthLnet/minecraft/client/gui/screen/Screen;width:Iintermediary field_22789Lnet/minecraft/class_437;field_22789:Iofficial oLges;o:I
-
height
public int height- Mappings:
Namespace Name Mixin selector named heightLnet/minecraft/client/gui/screen/Screen;height:Iintermediary field_22790Lnet/minecraft/class_437;field_22790:Iofficial pLges;p:I
-
drawables
- Mappings:
Namespace Name Mixin selector named drawablesLnet/minecraft/client/gui/screen/Screen;drawables:Ljava/util/List;intermediary field_33816Lnet/minecraft/class_437;field_33816:Ljava/util/List;official uLges;u:Ljava/util/List;
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRendererLnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;intermediary field_22793Lnet/minecraft/class_437;field_22793:Lnet/minecraft/class_327;official qLges;q:Lfwy;
-
narrator
- Mappings:
Namespace Name Mixin selector named narratorLnet/minecraft/client/gui/screen/Screen;narrator:Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;intermediary field_33822Lnet/minecraft/class_437;field_33822:Lnet/minecraft/class_6385;official ALges;A:Lgbv;
-
elementNarrationStartTime
private long elementNarrationStartTime- Mappings:
Namespace Name Mixin selector named elementNarrationStartTimeLnet/minecraft/client/gui/screen/Screen;elementNarrationStartTime:Jintermediary field_33823Lnet/minecraft/class_437;field_33823:Jofficial BLges;B:J
-
screenNarrationStartTime
private long screenNarrationStartTime- Mappings:
Namespace Name Mixin selector named screenNarrationStartTimeLnet/minecraft/client/gui/screen/Screen;screenNarrationStartTime:Jintermediary field_33824Lnet/minecraft/class_437;field_33824:Jofficial CLges;C:J
-
narratorToggleButton
- Mappings:
Namespace Name Mixin selector named narratorToggleButtonLnet/minecraft/client/gui/screen/Screen;narratorToggleButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_52252Lnet/minecraft/class_437;field_52252:Lnet/minecraft/class_5676;official rLges;r:Lfxu;
-
selected
- Mappings:
Namespace Name Mixin selector named selectedLnet/minecraft/client/gui/screen/Screen;selected:Lnet/minecraft/client/gui/Selectable;intermediary field_33813Lnet/minecraft/class_437;field_33813:Lnet/minecraft/class_6379;official DLges;D:Lgbq;
-
executor
- Mappings:
Namespace Name Mixin selector named executorLnet/minecraft/client/gui/screen/Screen;executor:Ljava/util/concurrent/Executor;intermediary field_44944Lnet/minecraft/class_437;field_44944:Ljava/util/concurrent/Executor;official sLges;s:Ljava/util/concurrent/Executor;
-
-
Constructor Details
-
Screen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)Vofficial <init>Lges;<init>(Lxo;)V
-
-
Method Details
-
getTitle
- Mappings:
Namespace Name Mixin selector named getTitleLnet/minecraft/client/gui/screen/Screen;getTitle()Lnet/minecraft/text/Text;intermediary method_25440Lnet/minecraft/class_437;method_25440()Lnet/minecraft/class_2561;official oLges;o()Lxo;
-
getNarratedTitle
- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLges;i()Lxo;
-
renderWithTooltip
- Mappings:
Namespace Name Mixin selector named renderWithTooltipLnet/minecraft/client/gui/screen/Screen;renderWithTooltip(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_47413Lnet/minecraft/class_437;method_47413(Lnet/minecraft/class_332;IIF)Vofficial cLges;c(Lfxa;IIF)V
-
render
- Specified by:
renderin interfaceDrawable- 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 aLfyr;a(Lfxa;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:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfzm;a(III)Z
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call tosetInitialFocus(Element)to set the element that is initially focused.- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vofficial aF_Lges;aF_()V
-
setInitialFocus
Sets the initial focus of this screen. This should be called inside the overriddensetInitialFocus()method by screen implementations.- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus(Lnet/minecraft/client/gui/Element;)Vintermediary method_48265Lnet/minecraft/class_437;method_48265(Lnet/minecraft/class_364;)Vofficial bLges;b(Lfzm;)V
-
blur
public void blur()- Mappings:
Namespace Name Mixin selector named blurLnet/minecraft/client/gui/screen/Screen;blur()Vintermediary method_48267Lnet/minecraft/class_437;method_48267()Vofficial pLges;p()V
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Mappings:
Namespace Name Mixin selector named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aG_Lges;aG_()Z
-
close
public void close()- Mappings:
Namespace Name Mixin selector named closeLnet/minecraft/client/gui/screen/Screen;close()Vintermediary method_25419Lnet/minecraft/class_437;method_25419()Vofficial aP_Lges;aP_()V
-
addDrawableChild
- Mappings:
Namespace Name Mixin selector named addDrawableChildLnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;intermediary method_37063Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;official cLges;c(Lfzm;)Lfzm;
-
addDrawable
- Mappings:
Namespace Name Mixin selector named addDrawableLnet/minecraft/client/gui/screen/Screen;addDrawable(Lnet/minecraft/client/gui/Drawable;)Lnet/minecraft/client/gui/Drawable;intermediary method_37060Lnet/minecraft/class_437;method_37060(Lnet/minecraft/class_4068;)Lnet/minecraft/class_4068;official aLges;a(Lfyr;)Lfyr;
-
addSelectableChild
- Mappings:
Namespace Name Mixin selector named addSelectableChildLnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;intermediary method_25429Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;official dLges;d(Lfzm;)Lfzm;
-
remove
- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/client/gui/screen/Screen;remove(Lnet/minecraft/client/gui/Element;)Vintermediary method_37066Lnet/minecraft/class_437;method_37066(Lnet/minecraft/class_364;)Vofficial eLges;e(Lfzm;)V
-
clearChildren
protected void clearChildren()- Mappings:
Namespace Name Mixin selector named clearChildrenLnet/minecraft/client/gui/screen/Screen;clearChildren()Vintermediary method_37067Lnet/minecraft/class_437;method_37067()Vofficial qLges;q()V
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector named getTooltipFromItemLnet/minecraft/client/gui/screen/Screen;getTooltipFromItem(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/item/ItemStack;)Ljava/util/List;intermediary method_25408Lnet/minecraft/class_437;method_25408(Lnet/minecraft/class_310;Lnet/minecraft/class_1799;)Ljava/util/List;official aLges;a(Lfud;Ldcv;)Ljava/util/List;
-
insertText
- Mappings:
Namespace Name Mixin selector named insertTextLnet/minecraft/client/gui/screen/Screen;insertText(Ljava/lang/String;Z)Vintermediary method_25415Lnet/minecraft/class_437;method_25415(Ljava/lang/String;Z)Vofficial a_Lges;a_(Ljava/lang/String;Z)V
-
handleTextClick
- Mappings:
Namespace Name Mixin selector named handleTextClickLnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Style;)Zintermediary method_25430Lnet/minecraft/class_437;method_25430(Lnet/minecraft/class_2583;)Zofficial aLges;a(Lyl;)Z
-
handleClickEvent
- Mappings:
Namespace Name Mixin selector named handleClickEventLnet/minecraft/client/gui/screen/Screen;handleClickEvent(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/text/ClickEvent;)Vintermediary method_71846Lnet/minecraft/class_437;method_71846(Lnet/minecraft/class_310;Lnet/minecraft/class_2558;)Vofficial aLges;a(Lfud;Lxm;)V
-
handleClickEvent
protected static void handleClickEvent(ClickEvent clickEvent, MinecraftClient client, @Nullable @Nullable Screen screenAfterRun) - Mappings:
Namespace Name Mixin selector named handleClickEventLnet/minecraft/client/gui/screen/Screen;handleClickEvent(Lnet/minecraft/text/ClickEvent;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;)Vintermediary method_71999Lnet/minecraft/class_437;method_71999(Lnet/minecraft/class_2558;Lnet/minecraft/class_310;Lnet/minecraft/class_437;)Vofficial aLges;a(Lxm;Lfud;Lges;)V
-
handleBasicClickEvent
protected static void handleBasicClickEvent(ClickEvent clickEvent, MinecraftClient client, @Nullable @Nullable Screen screenAfterRun) - Mappings:
Namespace Name Mixin selector named handleBasicClickEventLnet/minecraft/client/gui/screen/Screen;handleBasicClickEvent(Lnet/minecraft/text/ClickEvent;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;)Vintermediary method_71847Lnet/minecraft/class_437;method_71847(Lnet/minecraft/class_2558;Lnet/minecraft/class_310;Lnet/minecraft/class_437;)Vofficial bLges;b(Lxm;Lfud;Lges;)V
-
handleOpenUri
protected static boolean handleOpenUri(MinecraftClient client, @Nullable @Nullable Screen screen, URI uri) - Mappings:
Namespace Name Mixin selector named handleOpenUriLnet/minecraft/client/gui/screen/Screen;handleOpenUri(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;)Zintermediary method_71843Lnet/minecraft/class_437;method_71843(Lnet/minecraft/class_310;Lnet/minecraft/class_437;Ljava/net/URI;)Zofficial aLges;a(Lfud;Lges;Ljava/net/URI;)Z
-
handleRunCommand
protected static void handleRunCommand(ClientPlayerEntity player, String command, @Nullable @Nullable Screen screenAfterRun) - Mappings:
Namespace Name Mixin selector named handleRunCommandLnet/minecraft/client/gui/screen/Screen;handleRunCommand(Lnet/minecraft/client/network/ClientPlayerEntity;Ljava/lang/String;Lnet/minecraft/client/gui/screen/Screen;)Vintermediary method_71844Lnet/minecraft/class_437;method_71844(Lnet/minecraft/class_746;Ljava/lang/String;Lnet/minecraft/class_437;)Vofficial aLges;a(Lgwh;Ljava/lang/String;Lges;)V
-
init
- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)Vintermediary method_25423Lnet/minecraft/class_437;method_25423(Lnet/minecraft/class_310;II)Vofficial bLges;b(Lfud;II)V
-
clearAndInit
protected void clearAndInit()- Mappings:
Namespace Name Mixin selector named clearAndInitLnet/minecraft/client/gui/screen/Screen;clearAndInit()Vintermediary method_41843Lnet/minecraft/class_437;method_41843()Vofficial rLges;r()V
-
setWidgetAlpha
protected void setWidgetAlpha(float alpha) - Mappings:
Namespace Name Mixin selector named setWidgetAlphaLnet/minecraft/client/gui/screen/Screen;setWidgetAlpha(F)Vintermediary method_71536Lnet/minecraft/class_437;method_71536(F)Vofficial aLges;a(F)V
-
children
Gets a list of all child GUI elements.- Specified by:
childrenin interfaceParentElement- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aH_Lfzl;aH_()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 named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aV_Lges;aV_()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/client/gui/screen/Screen;tick()Vintermediary method_25393Lnet/minecraft/class_437;method_25393()Vofficial eLges;e()V
-
removed
public void removed()- Mappings:
Namespace Name Mixin selector named removedLnet/minecraft/client/gui/screen/Screen;removed()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vofficial aI_Lges;aI_()V
-
onDisplayed
public void onDisplayed()Called when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeinit()oris called.invalid reference
#initTabNavigation()- Mappings:
Namespace Name Mixin selector named onDisplayedLnet/minecraft/client/gui/screen/Screen;onDisplayed()Vintermediary method_49589Lnet/minecraft/class_437;method_49589()Vofficial aJ_Lges;aJ_()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 named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLges;b(Lfxa;IIF)V
-
applyBlur
- Mappings:
Namespace Name Mixin selector named applyBlurLnet/minecraft/client/gui/screen/Screen;applyBlur(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_57734Lnet/minecraft/class_437;method_57734(Lnet/minecraft/class_332;)Vofficial bLges;b(Lfxa;)V
-
renderPanoramaBackground
- Mappings:
Namespace Name Mixin selector named renderPanoramaBackgroundLnet/minecraft/client/gui/screen/Screen;renderPanoramaBackground(Lnet/minecraft/client/gui/DrawContext;F)Vintermediary method_57728Lnet/minecraft/class_437;method_57728(Lnet/minecraft/class_332;F)Vofficial aLges;a(Lfxa;F)V
-
renderDarkening
- Mappings:
Namespace Name Mixin selector named renderDarkeningLnet/minecraft/client/gui/screen/Screen;renderDarkening(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_57735Lnet/minecraft/class_437;method_57735(Lnet/minecraft/class_332;)Vofficial aLges;a(Lfxa;)V
-
renderDarkening
- Mappings:
Namespace Name Mixin selector named renderDarkeningLnet/minecraft/client/gui/screen/Screen;renderDarkening(Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_57736Lnet/minecraft/class_437;method_57736(Lnet/minecraft/class_332;IIII)Vofficial aLges;a(Lfxa;IIII)V
-
renderBackgroundTexture
public static void renderBackgroundTexture(DrawContext context, Identifier texture, int x, int y, float u, float v, int width, int height) - Mappings:
Namespace Name Mixin selector named renderBackgroundTextureLnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/util/Identifier;IIFFII)Vintermediary method_57737Lnet/minecraft/class_437;method_57737(Lnet/minecraft/class_332;Lnet/minecraft/class_2960;IIFFII)Vofficial aLges;a(Lfxa;Lame;IIFFII)V
-
renderInGameBackground
Renders the translucent background gradient used as the in-game screen background.- Mappings:
Namespace Name Mixin selector named renderInGameBackgroundLnet/minecraft/client/gui/screen/Screen;renderInGameBackground(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_52752Lnet/minecraft/class_437;method_52752(Lnet/minecraft/class_332;)Vofficial cLges;c(Lfxa;)V
-
shouldPause
public boolean shouldPause()- Mappings:
Namespace Name Mixin selector named shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial aQ_Lges;aQ_()Z
-
hasControlDown
public static boolean hasControlDown()- Mappings:
Namespace Name Mixin selector named hasControlDownLnet/minecraft/client/gui/screen/Screen;hasControlDown()Zintermediary method_25441Lnet/minecraft/class_437;method_25441()Zofficial sLges;s()Z
-
hasShiftDown
public static boolean hasShiftDown()- Mappings:
Namespace Name Mixin selector named hasShiftDownLnet/minecraft/client/gui/screen/Screen;hasShiftDown()Zintermediary method_25442Lnet/minecraft/class_437;method_25442()Zofficial tLges;t()Z
-
hasAltDown
public static boolean hasAltDown()- Mappings:
Namespace Name Mixin selector named hasAltDownLnet/minecraft/client/gui/screen/Screen;hasAltDown()Zintermediary method_25443Lnet/minecraft/class_437;method_25443()Zofficial uLges;u()Z
-
isCut
public static boolean isCut(int code) - Mappings:
Namespace Name Mixin selector named isCutLnet/minecraft/client/gui/screen/Screen;isCut(I)Zintermediary method_25436Lnet/minecraft/class_437;method_25436(I)Zofficial cLges;c(I)Z
-
isPaste
public static boolean isPaste(int code) - Mappings:
Namespace Name Mixin selector named isPasteLnet/minecraft/client/gui/screen/Screen;isPaste(I)Zintermediary method_25437Lnet/minecraft/class_437;method_25437(I)Zofficial dLges;d(I)Z
-
isCopy
public static boolean isCopy(int code) - Mappings:
Namespace Name Mixin selector named isCopyLnet/minecraft/client/gui/screen/Screen;isCopy(I)Zintermediary method_25438Lnet/minecraft/class_437;method_25438(I)Zofficial eLges;e(I)Z
-
isSelectAll
public static boolean isSelectAll(int code) - Mappings:
Namespace Name Mixin selector named isSelectAllLnet/minecraft/client/gui/screen/Screen;isSelectAll(I)Zintermediary method_25439Lnet/minecraft/class_437;method_25439(I)Zofficial fLges;f(I)Z
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLges;c()V
-
resize
- Mappings:
Namespace Name Mixin selector named resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)Vintermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vofficial aLges;a(Lfud;II)V
-
addCrashReportSection
- Mappings:
Namespace Name Mixin selector named addCrashReportSectionLnet/minecraft/client/gui/screen/Screen;addCrashReportSection(Lnet/minecraft/util/crash/CrashReport;)Vintermediary method_65027Lnet/minecraft/class_437;method_65027(Lnet/minecraft/class_128;)Vofficial aLges;a(Lp;)V
-
isValidCharacterForName
- Mappings:
Namespace Name Mixin selector named isValidCharacterForNameLnet/minecraft/client/gui/screen/Screen;isValidCharacterForName(Ljava/lang/String;CI)Zintermediary method_25414Lnet/minecraft/class_437;method_25414(Ljava/lang/String;CI)Zofficial aLges;a(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 named isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Zofficial a_Lfzm;a_(DD)Z
-
onFilesDropped
- Mappings:
Namespace Name Mixin selector named onFilesDroppedLnet/minecraft/client/gui/screen/Screen;onFilesDropped(Ljava/util/List;)Vintermediary method_29638Lnet/minecraft/class_437;method_29638(Ljava/util/List;)Vofficial aLges;a(Ljava/util/List;)V
-
setScreenNarrationDelay
private void setScreenNarrationDelay(long delayMs, boolean restartElementNarration) - Mappings:
Namespace Name Mixin selector named setScreenNarrationDelayLnet/minecraft/client/gui/screen/Screen;setScreenNarrationDelay(JZ)Vintermediary method_37059Lnet/minecraft/class_437;method_37059(JZ)Vofficial aLges;a(JZ)V
-
setElementNarrationDelay
private void setElementNarrationDelay(long delayMs) - Mappings:
Namespace Name Mixin selector named setElementNarrationDelayLnet/minecraft/client/gui/screen/Screen;setElementNarrationDelay(J)Vintermediary method_37058Lnet/minecraft/class_437;method_37058(J)Vofficial aLges;a(J)V
-
applyMouseMoveNarratorDelay
public void applyMouseMoveNarratorDelay()- Mappings:
Namespace Name Mixin selector named applyMouseMoveNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyMouseMoveNarratorDelay()Vintermediary method_37068Lnet/minecraft/class_437;method_37068()Vofficial vLges;v()V
-
applyMousePressScrollNarratorDelay
public void applyMousePressScrollNarratorDelay()- Mappings:
Namespace Name Mixin selector named applyMousePressScrollNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyMousePressScrollNarratorDelay()Vintermediary method_37069Lnet/minecraft/class_437;method_37069()Vofficial wLges;w()V
-
applyKeyPressNarratorDelay
public void applyKeyPressNarratorDelay()- Mappings:
Namespace Name Mixin selector named applyKeyPressNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyKeyPressNarratorDelay()Vintermediary method_37070Lnet/minecraft/class_437;method_37070()Vofficial xLges;x()V
-
isNarratorActive
private boolean isNarratorActive()- Mappings:
Namespace Name Mixin selector named isNarratorActiveLnet/minecraft/client/gui/screen/Screen;isNarratorActive()Zintermediary method_37073Lnet/minecraft/class_437;method_37073()Zofficial mLges;m()Z
-
updateNarrator
public void updateNarrator()- Mappings:
Namespace Name Mixin selector named updateNarratorLnet/minecraft/client/gui/screen/Screen;updateNarrator()Vintermediary method_37071Lnet/minecraft/class_437;method_37071()Vofficial zLges;z()V
-
narrateScreenIfNarrationEnabled
public void narrateScreenIfNarrationEnabled(boolean onlyChangedNarrations) If narration is enabled, narrates the elements of this screen.- Parameters:
onlyChangedNarrations- iftrue, the text will not include unchanged narrations that have already been narrated previously- Mappings:
Namespace Name Mixin selector named narrateScreenIfNarrationEnabledLnet/minecraft/client/gui/screen/Screen;narrateScreenIfNarrationEnabled(Z)Vintermediary method_37064Lnet/minecraft/class_437;method_37064(Z)Vofficial dLges;d(Z)V
-
narrateScreen
private void narrateScreen(boolean onlyChangedNarrations) - Mappings:
Namespace Name Mixin selector named narrateScreenLnet/minecraft/client/gui/screen/Screen;narrateScreen(Z)Vintermediary method_37065Lnet/minecraft/class_437;method_37065(Z)Vofficial cLges;c(Z)V
-
hasUsageText
protected boolean hasUsageText()- Mappings:
Namespace Name Mixin selector named hasUsageTextLnet/minecraft/client/gui/screen/Screen;hasUsageText()Zintermediary method_48262Lnet/minecraft/class_437;method_48262()Zofficial aR_Lges;aR_()Z
-
addScreenNarrations
- Mappings:
Namespace Name Mixin selector named addScreenNarrationsLnet/minecraft/client/gui/screen/Screen;addScreenNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_37062Lnet/minecraft/class_437;method_37062(Lnet/minecraft/class_6382;)Vofficial aLges;a(Lgbs;)V
-
addElementNarrations
- Mappings:
Namespace Name Mixin selector named addElementNarrationsLnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_37056Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)Vofficial bLges;b(Lgbs;)V
-
getUsageNarrationText
- Mappings:
Namespace Name Mixin selector named getUsageNarrationTextLnet/minecraft/client/gui/screen/Screen;getUsageNarrationText()Lnet/minecraft/text/Text;intermediary method_53870Lnet/minecraft/class_437;method_53870()Lnet/minecraft/class_2561;official ALges;A()Lxo;
-
findSelectedElementData
@Nullable public static @Nullable Screen.SelectedElementNarrationData findSelectedElementData(List<? extends Selectable> selectables, @Nullable @Nullable Selectable selectable) - Mappings:
Namespace Name Mixin selector named findSelectedElementDataLnet/minecraft/client/gui/screen/Screen;findSelectedElementData(Ljava/util/List;Lnet/minecraft/client/gui/Selectable;)Lnet/minecraft/client/gui/screen/Screen$SelectedElementNarrationData;intermediary method_37061Lnet/minecraft/class_437;method_37061(Ljava/util/List;Lnet/minecraft/class_6379;)Lnet/minecraft/class_437$class_6390;official aLges;a(Ljava/util/List;Lgbq;)Lges$a;
-
refreshNarrator
public void refreshNarrator(boolean previouslyDisabled) - Mappings:
Namespace Name Mixin selector named refreshNarratorLnet/minecraft/client/gui/screen/Screen;refreshNarrator(Z)Vintermediary method_61040Lnet/minecraft/class_437;method_61040(Z)Vofficial eLges;e(Z)V
-
getTextRenderer
- Mappings:
Namespace Name Mixin selector named getTextRendererLnet/minecraft/client/gui/screen/Screen;getTextRenderer()Lnet/minecraft/client/font/TextRenderer;intermediary method_64506Lnet/minecraft/class_437;method_64506()Lnet/minecraft/class_327;official BLges;B()Lfwy;
-
showsStatusEffects
public boolean showsStatusEffects()- Mappings:
Namespace Name Mixin selector named showsStatusEffectsLnet/minecraft/client/gui/screen/Screen;showsStatusEffects()Zintermediary method_64507Lnet/minecraft/class_437;method_64507()Zofficial CLges;C()Z
-
getMusic
- Mappings:
Namespace Name Mixin selector named getMusicLnet/minecraft/client/gui/screen/Screen;getMusic()Lnet/minecraft/sound/MusicSound;intermediary method_50024Lnet/minecraft/class_437;method_50024()Lnet/minecraft/class_5195;official DLges;D()Layw;
-