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,AccessibilityOnboardingScreen,AddServerScreen,AdvancementsScreen,BackupPromptScreen,BookEditScreen,BookScreen,ChatReportScreen,ChatScreen,ChatSelectionScreen,ConfirmScreen,ConnectScreen,CreateWorldScreen,CreditsAndAttributionScreen,CreditsScreen,CustomizeBuffetLevelScreen,CustomizeFlatLevelScreen,DatapackFailureScreen,DeathScreen,DemoScreen,DialogScreen,DirectConnectScreen,DisconnectedScreen,DownloadingTerrainScreen,EditGameRulesScreen,EditWorldScreen,ExperimentalWarningScreen,ExperimentalWarningScreen.DetailsScreen,ExperimentsScreen,FatalErrorScreen,GameMenuScreen,GameModeSelectionScreen,GameOptionsScreen,HandledScreen,JigsawBlockScreen,LevelLoadingScreen,MessageScreen,MultiplayerScreen,NoticeScreen,OpenToLanScreen,OptimizeWorldScreen,OptionsScreen,OutOfMemoryScreen,PackScreen,PresetsScreen,ProgressScreen,RealmsScreen,SelectWorldScreen,SocialInteractionsScreen,StatsScreen,StructureBlockScreen,TaskScreen,TelemetryInfoScreen,TitleScreen,WarningScreen
- Mappings:
Namespace Name intermediary net/minecraft/class_437official eugnamed net/minecraft/client/gui/screen/Screen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable MinecraftClientprivate longintprivate static final longprivate static final Loggerprivate static final longprivate static final longprivate final ScreenNarratorprivate static final longstatic final Identifierprivate static final longprivate static final Textprivate booleanprivate longprivate final List<Selectable>private @Nullable Selectableprotected TextRendererprotected final Textprivate @Nullable Screen.PositionedTooltipintFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <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) voidvoidvoidvoidprivate voidblur()children()Gets a list of all child GUI elements.protected voidprotected voidvoidclose()private voidconfirmLink(boolean open) voidfilesDragged(List<Path> paths) findSelectedElementData(List<? extends Selectable> selectables, @Nullable Selectable selectable) private GuiNavigation.ArrowgetArrowNavigation(NavigationDirection direction) getMusic()private GuiNavigation.TabgetTitle()getTooltipFromItem(MinecraftClient client, ItemStack stack) booleanhandleTextClick(@Nullable Style style) static booleanstatic booleanstatic booleanprotected booleanprotected static voidhide(ClickableWidget[] widgets) protected voidinit()Called when a screen should be initialized.final voidinit(MinecraftClient client, int width, int height) protected voidprotected 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()orinitTabNavigation()is called.private voidprotected voidvoidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context) Renders the background of this screen.voidrenderBackgroundTexture(DrawContext context) Renders the fullscreen background texture of this screen.final voidrenderWithTooltip(DrawContext context, int mouseX, int mouseY, float delta) voidresize(MinecraftClient client, int width, int height) private voidsetElementNarrationDelay(long delayMs) protected voidsetInitialFocus(Element element) Sets the initial focus of this screen.private voidsetScreenNarrationDelay(long delayMs, boolean restartElementNarration) voidsetTooltip(List<OrderedText> tooltip) voidsetTooltip(List<OrderedText> tooltip, TooltipPositioner positioner, boolean focused) voidsetTooltip(Tooltip tooltip, TooltipPositioner positioner, boolean focused) protected voidsetTooltip(Text tooltip) booleanChecks whether this screen should be closed when the escape key is pressed.booleanprotected voidswitchFocus(GuiNavigationPath path) Switches focus from the currently focused element, if any, topath.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 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.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector intermediary field_22782Lnet/minecraft/class_437;field_22782:Lorg/slf4j/Logger;official aLeug;a:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/Screen;LOGGER:Lorg/slf4j/Logger;
-
ALLOWED_PROTOCOLS
- Mappings:
Namespace Name Mixin selector intermediary field_22783Lnet/minecraft/class_437;field_22783:Ljava/util/Set;official bLeug;b:Ljava/util/Set;named ALLOWED_PROTOCOLSLnet/minecraft/client/gui/screen/Screen;ALLOWED_PROTOCOLS:Ljava/util/Set;
-
SCREEN_USAGE_TEXT
- Mappings:
Namespace Name Mixin selector intermediary field_33814Lnet/minecraft/class_437;field_33814:Lnet/minecraft/class_2561;official cLeug;c:Lsw;named SCREEN_USAGE_TEXTLnet/minecraft/client/gui/screen/Screen;SCREEN_USAGE_TEXT:Lnet/minecraft/text/Text;
-
OPTIONS_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector intermediary field_44669Lnet/minecraft/class_437;field_44669:Lnet/minecraft/class_2960;official dLeug;d:Lacq;named OPTIONS_BACKGROUND_TEXTURELnet/minecraft/client/gui/screen/Screen;OPTIONS_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
-
SCREEN_INIT_NARRATION_DELAY
private static final long SCREEN_INIT_NARRATION_DELAY- Mappings:
Namespace Name Mixin selector intermediary field_33817Lnet/minecraft/class_437;field_33817:Jofficial oLeug;o: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 intermediary field_33818Lnet/minecraft/class_437;field_33818:Jofficial pLeug;p:Jnamed NARRATOR_MODE_CHANGE_DELAYLnet/minecraft/client/gui/screen/Screen;NARRATOR_MODE_CHANGE_DELAY:J
-
MOUSE_MOVE_NARRATION_DELAY
private static final long MOUSE_MOVE_NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33819Lnet/minecraft/class_437;field_33819:Jofficial qLeug;q:Jnamed MOUSE_MOVE_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;MOUSE_MOVE_NARRATION_DELAY:J
-
MOUSE_PRESS_SCROLL_NARRATION_DELAY
private static final long MOUSE_PRESS_SCROLL_NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33820Lnet/minecraft/class_437;field_33820:Jofficial rLeug;r:Jnamed MOUSE_PRESS_SCROLL_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;MOUSE_PRESS_SCROLL_NARRATION_DELAY:J
-
KEY_PRESS_NARRATION_DELAY
private static final long KEY_PRESS_NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33821Lnet/minecraft/class_437;field_33821:Jofficial sLeug;s:Jnamed KEY_PRESS_NARRATION_DELAYLnet/minecraft/client/gui/screen/Screen;KEY_PRESS_NARRATION_DELAY:J
-
title
- Mappings:
Namespace Name Mixin selector intermediary field_22785Lnet/minecraft/class_437;field_22785:Lnet/minecraft/class_2561;official eLeug;e:Lsw;named titleLnet/minecraft/client/gui/screen/Screen;title:Lnet/minecraft/text/Text;
-
children
- Mappings:
Namespace Name Mixin selector intermediary field_22786Lnet/minecraft/class_437;field_22786:Ljava/util/List;official jLeug;j:Ljava/util/List;named childrenLnet/minecraft/client/gui/screen/Screen;children:Ljava/util/List;
-
selectables
- Mappings:
Namespace Name Mixin selector intermediary field_33815Lnet/minecraft/class_437;field_33815:Ljava/util/List;official kLeug;k:Ljava/util/List;named selectablesLnet/minecraft/client/gui/screen/Screen;selectables:Ljava/util/List;
-
client
- Mappings:
Namespace Name Mixin selector intermediary field_22787Lnet/minecraft/class_437;field_22787:Lnet/minecraft/class_310;official fLeug;f:Lenf;named clientLnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;
-
screenInitialized
private boolean screenInitialized- Mappings:
Namespace Name Mixin selector intermediary field_42156Lnet/minecraft/class_437;field_42156:Zofficial lLeug;l:Znamed screenInitializedLnet/minecraft/client/gui/screen/Screen;screenInitialized:Z
-
width
public int width- Mappings:
Namespace Name Mixin selector intermediary field_22789Lnet/minecraft/class_437;field_22789:Iofficial gLeug;g:Inamed widthLnet/minecraft/client/gui/screen/Screen;width:I
-
height
public int height- Mappings:
Namespace Name Mixin selector intermediary field_22790Lnet/minecraft/class_437;field_22790:Iofficial hLeug;h:Inamed heightLnet/minecraft/client/gui/screen/Screen;height:I
-
drawables
- Mappings:
Namespace Name Mixin selector intermediary field_33816Lnet/minecraft/class_437;field_33816:Ljava/util/List;official mLeug;m:Ljava/util/List;named drawablesLnet/minecraft/client/gui/screen/Screen;drawables:Ljava/util/List;
-
textRenderer
- Mappings:
Namespace Name Mixin selector intermediary field_22793Lnet/minecraft/class_437;field_22793:Lnet/minecraft/class_327;official iLeug;i:Leon;named textRendererLnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
clickedLink
- Mappings:
Namespace Name Mixin selector intermediary field_22784Lnet/minecraft/class_437;field_22784:Ljava/net/URI;official nLeug;n:Ljava/net/URI;named clickedLinkLnet/minecraft/client/gui/screen/Screen;clickedLink:Ljava/net/URI;
-
narrator
- Mappings:
Namespace Name Mixin selector intermediary field_33822Lnet/minecraft/class_437;field_33822:Lnet/minecraft/class_6385;official tLeug;t:Lesj;named narratorLnet/minecraft/client/gui/screen/Screen;narrator:Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;
-
elementNarrationStartTime
private long elementNarrationStartTime- Mappings:
Namespace Name Mixin selector intermediary field_33823Lnet/minecraft/class_437;field_33823:Jofficial uLeug;u:Jnamed elementNarrationStartTimeLnet/minecraft/client/gui/screen/Screen;elementNarrationStartTime:J
-
screenNarrationStartTime
private long screenNarrationStartTime- Mappings:
Namespace Name Mixin selector intermediary field_33824Lnet/minecraft/class_437;field_33824:Jofficial vLeug;v:Jnamed screenNarrationStartTimeLnet/minecraft/client/gui/screen/Screen;screenNarrationStartTime:J
-
selected
- Mappings:
Namespace Name Mixin selector intermediary field_33813Lnet/minecraft/class_437;field_33813:Lnet/minecraft/class_6379;official wLeug;w:Lese;named selectedLnet/minecraft/client/gui/screen/Screen;selected:Lnet/minecraft/client/gui/Selectable;
-
tooltip
- Mappings:
Namespace Name Mixin selector intermediary field_41685Lnet/minecraft/class_437;field_41685:Lnet/minecraft/class_437$class_7998;official xLeug;x:Leug$a;named tooltipLnet/minecraft/client/gui/screen/Screen;tooltip:Lnet/minecraft/client/gui/screen/Screen$PositionedTooltip;
-
-
Constructor Details
-
Screen
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)Vofficial <init>Leug;<init>(Lsw;)Vnamed <init>Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)V
-
-
Method Details
-
getTitle
- Mappings:
Namespace Name Mixin selector intermediary method_25440Lnet/minecraft/class_437;method_25440()Lnet/minecraft/class_2561;official mLeug;m()Lsw;named getTitleLnet/minecraft/client/gui/screen/Screen;getTitle()Lnet/minecraft/text/Text;
-
getNarratedTitle
- Mappings:
Namespace Name Mixin selector intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official au_Leug;au_()Lsw;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
renderWithTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_47413Lnet/minecraft/class_437;method_47413(Lnet/minecraft/class_332;IIF)Vofficial bLeug;b(Leop;IIF)Vnamed renderWithTooltipLnet/minecraft/client/gui/screen/Screen;renderWithTooltip(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
render
- Specified by:
renderin interfaceDrawable- Mappings:
Namespace Name Mixin selector intermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLepy;a(Leop;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;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 intermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLeqk;a(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
setInitialFocus
Sets the initial focus of this screen. This should be called inside the overriddeninit()method by screen implementations.- Mappings:
Namespace Name Mixin selector intermediary method_48265Lnet/minecraft/class_437;method_48265(Lnet/minecraft/class_364;)Vofficial cLeug;c(Leqk;)Vnamed setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus(Lnet/minecraft/client/gui/Element;)V
-
blur
private void blur()- Mappings:
Namespace Name Mixin selector intermediary method_48267Lnet/minecraft/class_437;method_48267()Vofficial BLeug;B()Vnamed blurLnet/minecraft/client/gui/screen/Screen;blur()V
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Mappings:
Namespace Name Mixin selector intermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial av_Leug;av_()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
close
public void close()- Mappings:
Namespace Name Mixin selector intermediary method_25419Lnet/minecraft/class_437;method_25419()Vofficial aw_Leug;aw_()Vnamed closeLnet/minecraft/client/gui/screen/Screen;close()V
-
addDrawableChild
- Mappings:
Namespace Name Mixin selector intermediary method_37063Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;official dLeug;d(Leqk;)Leqk;named addDrawableChildLnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
addDrawable
- Mappings:
Namespace Name Mixin selector intermediary method_37060Lnet/minecraft/class_437;method_37060(Lnet/minecraft/class_4068;)Lnet/minecraft/class_4068;official aLeug;a(Lepy;)Lepy;named addDrawableLnet/minecraft/client/gui/screen/Screen;addDrawable(Lnet/minecraft/client/gui/Drawable;)Lnet/minecraft/client/gui/Drawable;
-
addSelectableChild
- Mappings:
Namespace Name Mixin selector intermediary method_25429Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;official eLeug;e(Leqk;)Leqk;named addSelectableChildLnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
remove
- Mappings:
Namespace Name Mixin selector intermediary method_37066Lnet/minecraft/class_437;method_37066(Lnet/minecraft/class_364;)Vofficial fLeug;f(Leqk;)Vnamed removeLnet/minecraft/client/gui/screen/Screen;remove(Lnet/minecraft/client/gui/Element;)V
-
clearChildren
protected void clearChildren()- Mappings:
Namespace Name Mixin selector intermediary method_37067Lnet/minecraft/class_437;method_37067()Vofficial nLeug;n()Vnamed clearChildrenLnet/minecraft/client/gui/screen/Screen;clearChildren()V
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector intermediary method_25408Lnet/minecraft/class_437;method_25408(Lnet/minecraft/class_310;Lnet/minecraft/class_1799;)Ljava/util/List;official aLeug;a(Lenf;Lcfx;)Ljava/util/List;named getTooltipFromItemLnet/minecraft/client/gui/screen/Screen;getTooltipFromItem(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
insertText
- Mappings:
Namespace Name Mixin selector intermediary method_25415Lnet/minecraft/class_437;method_25415(Ljava/lang/String;Z)Vofficial aLeug;a(Ljava/lang/String;Z)Vnamed insertTextLnet/minecraft/client/gui/screen/Screen;insertText(Ljava/lang/String;Z)V
-
handleTextClick
- Mappings:
Namespace Name Mixin selector intermediary method_25430Lnet/minecraft/class_437;method_25430(Lnet/minecraft/class_2583;)Zofficial aLeug;a(Lts;)Znamed handleTextClickLnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Style;)Z
-
init
- Mappings:
Namespace Name Mixin selector intermediary method_25423Lnet/minecraft/class_437;method_25423(Lnet/minecraft/class_310;II)Vofficial bLeug;b(Lenf;II)Vnamed initLnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)V
-
clearAndInit
protected void clearAndInit()- Mappings:
Namespace Name Mixin selector intermediary method_41843Lnet/minecraft/class_437;method_41843()Vofficial oLeug;o()Vnamed clearAndInitLnet/minecraft/client/gui/screen/Screen;clearAndInit()V
-
children
Gets a list of all child GUI elements.- Specified by:
childrenin interfaceParentElement- Mappings:
Namespace Name Mixin selector intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official iLeqj;i()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.
This should call
setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.- Mappings:
Namespace Name Mixin selector intermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial bLeug;b()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector intermediary method_25393Lnet/minecraft/class_437;method_25393()Vofficial fLeug;f()Vnamed tickLnet/minecraft/client/gui/screen/Screen;tick()V
-
removed
public void removed()- Mappings:
Namespace Name Mixin selector intermediary method_25432Lnet/minecraft/class_437;method_25432()Vofficial ax_Leug;ax_()Vnamed removedLnet/minecraft/client/gui/screen/Screen;removed()V
-
onDisplayed
public void onDisplayed()Called when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeinit()orinitTabNavigation()is called.- Mappings:
Namespace Name Mixin selector intermediary method_49589Lnet/minecraft/class_437;method_49589()Vofficial ay_Leug;ay_()Vnamed onDisplayedLnet/minecraft/client/gui/screen/Screen;onDisplayed()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 intermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;)Vofficial aLeug;a(Leop;)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;)V
-
renderBackgroundTexture
Renders the fullscreen background texture of this screen.- Mappings:
Namespace Name Mixin selector intermediary method_25434Lnet/minecraft/class_437;method_25434(Lnet/minecraft/class_332;)Vofficial bLeug;b(Leop;)Vnamed renderBackgroundTextureLnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(Lnet/minecraft/client/gui/DrawContext;)V
-
shouldPause
public boolean shouldPause()- Mappings:
Namespace Name Mixin selector intermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial az_Leug;az_()Znamed shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Z
-
confirmLink
private void confirmLink(boolean open) - Mappings:
Namespace Name Mixin selector intermediary method_25428Lnet/minecraft/class_437;method_25428(Z)Vofficial cLeug;c(Z)Vnamed confirmLinkLnet/minecraft/client/gui/screen/Screen;confirmLink(Z)V
-
openLink
- Mappings:
Namespace Name Mixin selector intermediary method_25416Lnet/minecraft/class_437;method_25416(Ljava/net/URI;)Vofficial aLeug;a(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 intermediary method_25441Lnet/minecraft/class_437;method_25441()Zofficial pLeug;p()Znamed hasControlDownLnet/minecraft/client/gui/screen/Screen;hasControlDown()Z
-
hasShiftDown
public static boolean hasShiftDown()- Mappings:
Namespace Name Mixin selector intermediary method_25442Lnet/minecraft/class_437;method_25442()Zofficial qLeug;q()Znamed hasShiftDownLnet/minecraft/client/gui/screen/Screen;hasShiftDown()Z
-
hasAltDown
public static boolean hasAltDown()- Mappings:
Namespace Name Mixin selector intermediary method_25443Lnet/minecraft/class_437;method_25443()Zofficial rLeug;r()Znamed hasAltDownLnet/minecraft/client/gui/screen/Screen;hasAltDown()Z
-
isCut
public static boolean isCut(int code) - Mappings:
Namespace Name Mixin selector intermediary method_25436Lnet/minecraft/class_437;method_25436(I)Zofficial dLeug;d(I)Znamed isCutLnet/minecraft/client/gui/screen/Screen;isCut(I)Z
-
isPaste
public static boolean isPaste(int code) - Mappings:
Namespace Name Mixin selector intermediary method_25437Lnet/minecraft/class_437;method_25437(I)Zofficial eLeug;e(I)Znamed isPasteLnet/minecraft/client/gui/screen/Screen;isPaste(I)Z
-
isCopy
public static boolean isCopy(int code) - Mappings:
Namespace Name Mixin selector intermediary method_25438Lnet/minecraft/class_437;method_25438(I)Zofficial fLeug;f(I)Znamed isCopyLnet/minecraft/client/gui/screen/Screen;isCopy(I)Z
-
isSelectAll
public static boolean isSelectAll(int code) - Mappings:
Namespace Name Mixin selector intermediary method_25439Lnet/minecraft/class_437;method_25439(I)Zofficial gLeug;g(I)Znamed isSelectAllLnet/minecraft/client/gui/screen/Screen;isSelectAll(I)Z
-
resize
- Mappings:
Namespace Name Mixin selector intermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vofficial aLeug;a(Lenf;II)Vnamed resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
wrapScreenError
- Mappings:
Namespace Name Mixin selector intermediary method_25412Lnet/minecraft/class_437;method_25412(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)Vofficial aLeug;a(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 intermediary method_25414Lnet/minecraft/class_437;method_25414(Ljava/lang/String;CI)Zofficial aLeug;a(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 intermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Zofficial a_Leqk;a_(DD)Znamed isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
filesDragged
- Mappings:
Namespace Name Mixin selector intermediary method_29638Lnet/minecraft/class_437;method_29638(Ljava/util/List;)Vofficial aLeug;a(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 intermediary method_37059Lnet/minecraft/class_437;method_37059(JZ)Vofficial aLeug;a(JZ)Vnamed setScreenNarrationDelayLnet/minecraft/client/gui/screen/Screen;setScreenNarrationDelay(JZ)V
-
setElementNarrationDelay
private void setElementNarrationDelay(long delayMs) - Mappings:
Namespace Name Mixin selector intermediary method_37058Lnet/minecraft/class_437;method_37058(J)Vofficial aLeug;a(J)Vnamed setElementNarrationDelayLnet/minecraft/client/gui/screen/Screen;setElementNarrationDelay(J)V
-
applyMouseMoveNarratorDelay
public void applyMouseMoveNarratorDelay()- Mappings:
Namespace Name Mixin selector intermediary method_37068Lnet/minecraft/class_437;method_37068()Vofficial vLeug;v()Vnamed applyMouseMoveNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyMouseMoveNarratorDelay()V
-
applyMousePressScrollNarratorDelay
public void applyMousePressScrollNarratorDelay()- Mappings:
Namespace Name Mixin selector intermediary method_37069Lnet/minecraft/class_437;method_37069()Vofficial wLeug;w()Vnamed applyMousePressScrollNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyMousePressScrollNarratorDelay()V
-
applyKeyPressNarratorDelay
public void applyKeyPressNarratorDelay()- Mappings:
Namespace Name Mixin selector intermediary method_37070Lnet/minecraft/class_437;method_37070()Vofficial xLeug;x()Vnamed applyKeyPressNarratorDelayLnet/minecraft/client/gui/screen/Screen;applyKeyPressNarratorDelay()V
-
isNarratorActive
private boolean isNarratorActive()- Mappings:
Namespace Name Mixin selector intermediary method_37073Lnet/minecraft/class_437;method_37073()Zofficial FLeug;F()Znamed isNarratorActiveLnet/minecraft/client/gui/screen/Screen;isNarratorActive()Z
-
updateNarrator
public void updateNarrator()- Mappings:
Namespace Name Mixin selector intermediary method_37071Lnet/minecraft/class_437;method_37071()Vofficial yLeug;y()Vnamed updateNarratorLnet/minecraft/client/gui/screen/Screen;updateNarrator()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 intermediary method_37064Lnet/minecraft/class_437;method_37064(Z)Vofficial dLeug;d(Z)Vnamed narrateScreenIfNarrationEnabledLnet/minecraft/client/gui/screen/Screen;narrateScreenIfNarrationEnabled(Z)V
-
narrateScreen
private void narrateScreen(boolean onlyChangedNarrations) - Mappings:
Namespace Name Mixin selector intermediary method_37065Lnet/minecraft/class_437;method_37065(Z)Vofficial eLeug;e(Z)Vnamed narrateScreenLnet/minecraft/client/gui/screen/Screen;narrateScreen(Z)V
-
hasUsageText
protected boolean hasUsageText()- Mappings:
Namespace Name Mixin selector intermediary method_48262Lnet/minecraft/class_437;method_48262()Zofficial aH_Leug;aH_()Znamed hasUsageTextLnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
-
addScreenNarrations
- Mappings:
Namespace Name Mixin selector intermediary method_37062Lnet/minecraft/class_437;method_37062(Lnet/minecraft/class_6382;)Vofficial aLeug;a(Lesg;)Vnamed addScreenNarrationsLnet/minecraft/client/gui/screen/Screen;addScreenNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
addElementNarrations
- Mappings:
Namespace Name Mixin selector intermediary method_37056Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)Vofficial bLeug;b(Lesg;)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 intermediary method_37061Lnet/minecraft/class_437;method_37061(Ljava/util/List;Lnet/minecraft/class_6379;)Lnet/minecraft/class_437$class_6390;official aLeug;a(Ljava/util/List;Lese;)Leug$b;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 intermediary method_37072Lnet/minecraft/class_437;method_37072()Vofficial zLeug;z()Vnamed applyNarratorModeChangeDelayLnet/minecraft/client/gui/screen/Screen;applyNarratorModeChangeDelay()V
-
setTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_47414Lnet/minecraft/class_437;method_47414(Ljava/util/List;)Vofficial bLeug;b(Ljava/util/List;)Vnamed setTooltipLnet/minecraft/client/gui/screen/Screen;setTooltip(Ljava/util/List;)V
-
setTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_47942Lnet/minecraft/class_437;method_47942(Ljava/util/List;Lnet/minecraft/class_8000;Z)Vofficial aLeug;a(Ljava/util/List;Lewx;Z)Vnamed setTooltipLnet/minecraft/client/gui/screen/Screen;setTooltip(Ljava/util/List;Lnet/minecraft/client/gui/tooltip/TooltipPositioner;Z)V
-
setTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_47415Lnet/minecraft/class_437;method_47415(Lnet/minecraft/class_2561;)Vofficial dLeug;d(Lsw;)Vnamed setTooltipLnet/minecraft/client/gui/screen/Screen;setTooltip(Lnet/minecraft/text/Text;)V
-
setTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_47412Lnet/minecraft/class_437;method_47412(Lnet/minecraft/class_7919;Lnet/minecraft/class_8000;Z)Vofficial aLeug;a(Leqg;Lewx;Z)Vnamed setTooltipLnet/minecraft/client/gui/screen/Screen;setTooltip(Lnet/minecraft/client/gui/tooltip/Tooltip;Lnet/minecraft/client/gui/tooltip/TooltipPositioner;Z)V
-
hide
- Mappings:
Namespace Name Mixin selector intermediary method_40041Lnet/minecraft/class_437;method_40041([Lnet/minecraft/class_339;)Vofficial aLeug;a([Leox;)Vnamed hideLnet/minecraft/client/gui/screen/Screen;hide([Lnet/minecraft/client/gui/widget/ClickableWidget;)V
-
getMusic
- Mappings:
Namespace Name Mixin selector intermediary method_50024Lnet/minecraft/class_437;method_50024()Lnet/minecraft/class_5195;official ALeug;A()Lame;named getMusicLnet/minecraft/client/gui/screen/Screen;getMusic()Lnet/minecraft/sound/MusicSound;
-