Uses of Class
net.minecraft.client.gui.screens.Screen
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of Screen in com.mojang.realmsclient
Modifier and TypeFieldDescription(package private) final Screen
RealmsMainScreen.lastScreen
(package private) static Screen
RealmsMainScreen.realmsGenericErrorScreen
Modifier and TypeMethodDescriptionvoid
RealmsMainScreen.play
(RealmsServer p_86516_, Screen p_86517_) -
Uses of Screen in com.mojang.realmsclient.dto
Modifier and TypeMethodDescriptionRealmsNotification.VisitUrl.buildOpenLinkButton
(Screen p_275412_) -
Uses of Screen in com.mojang.realmsclient.gui.screens
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
RealmsBackupInfoScreen.lastScreen
private final Screen
RealmsBrokenWorldScreen.lastScreen
private final Screen
RealmsClientOutdatedScreen.lastScreen
private final Screen
RealmsDownloadLatestWorldScreen.lastScreen
private final Screen
RealmsInviteScreen.lastScreen
private final Screen
RealmsLongRunningMcoTaskScreen.lastScreen
private final Screen
RealmsPendingInvitesScreen.lastScreen
private final Screen
RealmsResetWorldScreen.lastScreen
private final Screen
RealmsSubscriptionInfoScreen.lastScreen
private final Screen
RealmsTermsScreen.lastScreen
(package private) final Screen
RealmsSubscriptionInfoScreen.mainScreen
private final Screen
RealmsGenericErrorScreen.nextScreen
private final Screen
RealmsParentalConsentScreen.nextScreen
Modifier and TypeMethodDescriptionvoid
RealmsConfigureWorldScreen.closeTheWorld
(Screen p_88453_) void
RealmsConfigureWorldScreen.openTheWorld
(boolean p_88460_, Screen p_88461_) ModifierConstructorDescriptionRealmsBackupInfoScreen
(Screen p_88048_, Backup p_88049_) RealmsBrokenWorldScreen
(Screen p_88296_, RealmsMainScreen p_88297_, long p_88298_, boolean p_88299_) RealmsClientOutdatedScreen
(Screen p_231304_) RealmsDownloadLatestWorldScreen
(Screen p_88625_, WorldDownload p_88626_, String p_88627_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88628_) RealmsGenericErrorScreen
(RealmsServiceException p_88669_, Screen p_88670_) RealmsGenericErrorScreen
(Component p_88672_, Screen p_88673_) RealmsGenericErrorScreen
(Component p_88675_, Component p_88676_, Screen p_88677_) RealmsInviteScreen
(RealmsConfigureWorldScreen p_88703_, Screen p_88704_, RealmsServer p_88705_) RealmsLongRunningMcoTaskScreen
(Screen p_88777_, LongRunningTask p_88778_) RealmsParentalConsentScreen
(Screen p_88861_) RealmsPendingInvitesScreen
(Screen p_279260_, Component p_279122_) RealmsResetWorldScreen
(Screen p_89329_, RealmsServer p_89330_, Runnable p_89331_, Runnable p_89332_) RealmsResetWorldScreen
(Screen p_167448_, RealmsServer p_167449_, Component p_167450_, Runnable p_167451_, Runnable p_167452_) RealmsResetWorldScreen
(Screen p_89334_, RealmsServer p_89335_, Component p_89336_, Component p_89337_, int p_89338_, Component p_89339_, Runnable p_89340_, Runnable p_89341_) RealmsSubscriptionInfoScreen
(Screen p_89979_, RealmsServer p_89980_, Screen p_89981_) RealmsTermsScreen
(Screen p_90033_, RealmsMainScreen p_90034_, RealmsServer p_90035_) -
Uses of Screen in com.mojang.realmsclient.util.task
Modifier and TypeFieldDescriptionprivate final Screen
DownloadTask.lastScreen
private final Screen
GetServerDetailsTask.lastScreen
private final Screen
WorldCreationTask.lastScreen
private final Screen
OpenServerTask.returnScreen
Modifier and TypeMethodDescriptionprivate RealmsLongConfirmationScreen
GetServerDetailsTask.resourcePackDownloadConfirmationScreen
(RealmsServerAddress p_167640_, Function<RealmsServerAddress, Screen> p_167641_) ModifierConstructorDescriptionConnectTask
(Screen p_90309_, RealmsServer p_90310_, RealmsServerAddress p_90311_) DownloadTask
(long p_90320_, int p_90321_, String p_90322_, Screen p_90323_) GetServerDetailsTask
(RealmsMainScreen p_90332_, Screen p_90333_, RealmsServer p_90334_, ReentrantLock p_90335_) OpenServerTask
(RealmsServer p_181344_, Screen p_181345_, RealmsMainScreen p_181346_, boolean p_181347_, Minecraft p_181348_) WorldCreationTask
(long p_90468_, String p_90469_, String p_90470_, Screen p_90471_) -
Uses of Screen in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
Minecraft.clearLevel
(Screen p_91321_) void
Minecraft.forceSetScreen
(Screen p_91347_) void
void
Realms32BitWarningStatus.showRealms32BitWarningIfNeeded
(Screen p_232209_) private void
Minecraft.updateScreenAndTick
(Screen p_91363_) -
Uses of Screen in net.minecraft.client.gui.components
ModifierConstructorDescriptionCommandSuggestions
(Minecraft p_93871_, Screen p_93872_, EditBox p_93873_, Font p_93874_, boolean p_93875_, boolean p_93876_, int p_93877_, int p_93878_, boolean p_93879_, int p_93880_) -
Uses of Screen in net.minecraft.client.gui.layouts
ModifierConstructorDescriptionHeaderAndFooterLayout
(Screen p_270234_) HeaderAndFooterLayout
(Screen p_270404_, int p_270984_) HeaderAndFooterLayout
(Screen p_270083_, int p_270134_, int p_270996_) -
Uses of Screen in net.minecraft.client.gui.screens
Modifier and TypeInterfaceDescriptionstatic interface
MenuScreens.ScreenConstructor<T extends AbstractContainerMenu,
U extends Screen & MenuAccess<T>> Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
static class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
SymlinkWarningScreen.callbackScreen
private final Screen
BackupConfirmScreen.lastScreen
private final Screen
CreditsAndAttributionScreen.lastScreen
private final Screen
DirectJoinServerScreen.lastScreen
private final Screen
EditServerScreen.lastScreen
private final Screen
OptionsScreen.lastScreen
protected final Screen
OptionsSubScreen.lastScreen
private final Screen
ShareToLanScreen.lastScreen
(package private) final Screen
ConnectScreen.parent
private final Screen
CreateBuffetWorldScreen.parent
private final Screen
DisconnectedScreen.parent
Modifier and TypeMethodDescriptionstatic <M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidMenuScreens.register
(MenuType<? extends M> p_96207_, MenuScreens.ScreenConstructor<M, U> p_96208_) Modifier and TypeMethodDescriptionprivate void
AccessibilityOnboardingScreen.closeAndSetScreen
(Screen p_272914_) static Button.OnPress
ConfirmLinkScreen.confirmLink
(String p_275241_, Screen p_275326_, boolean p_275642_) static void
ConfirmLinkScreen.confirmLinkNow
(String p_275417_, Screen p_275593_, boolean p_275446_) static OnlineOptionsScreen
OnlineOptionsScreen.createOnlineOptionsScreen
(Minecraft p_262120_, Screen p_261548_, Options p_261609_) static void
ConnectScreen.startConnecting
(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_) Modifier and TypeMethodDescriptionprivate Button
OptionsScreen.openScreenButton
(Component p_261565_, Supplier<Screen> p_262119_) private Button
PauseScreen.openScreenButton
(Component p_262567_, Supplier<Screen> p_262581_) ModifierConstructorDescriptionAccessibilityOptionsScreen
(Screen p_95504_, Options p_95505_) BackupConfirmScreen
(Screen p_95543_, BackupConfirmScreen.Listener p_95544_, Component p_95545_, Component p_95546_, boolean p_95547_) ChatOptionsScreen
(Screen p_95571_, Options p_95572_) private
ConnectScreen
(Screen p_279215_, Component p_279228_) CreateBuffetWorldScreen
(Screen p_232732_, WorldCreationContext p_232733_, Consumer<Holder<Biome>> p_232734_) CreditsAndAttributionScreen
(Screen p_276298_) DirectJoinServerScreen
(Screen p_95960_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95961_, ServerData p_95962_) DisconnectedScreen
(Screen p_95993_, Component p_95994_, Component p_95995_) DisconnectedScreen
(Screen p_279153_, Component p_279183_, Component p_279332_, Component p_279257_) EditServerScreen
(Screen p_96017_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_96018_, ServerData p_96019_) LanguageSelectScreen
(Screen p_96085_, Options p_96086_, LanguageManager p_96087_) MouseSettingsScreen
(Screen p_96222_, Options p_96223_) private
OnlineOptionsScreen
(Screen p_261979_, Options p_261924_, OptionInstance<?>[] p_262151_, OptionInstance<com.mojang.datafixers.util.Unit> p_261692_) OptionsScreen
(Screen p_96242_, Options p_96243_) OptionsSubScreen
(Screen p_96284_, Options p_96285_, Component p_96286_) ShareToLanScreen
(Screen p_96650_) SimpleOptionsSubScreen
(Screen p_232763_, Options p_232764_, Component p_232765_, OptionInstance<?>[] p_232766_) SkinCustomizationScreen
(Screen p_96684_, Options p_96685_) SoundOptionsScreen
(Screen p_96702_, Options p_96703_) SymlinkWarningScreen
(Screen p_289989_) VideoSettingsScreen
(Screen p_96806_, Options p_96807_) -
Uses of Screen in net.minecraft.client.gui.screens.achievement
-
Uses of Screen in net.minecraft.client.gui.screens.advancements
-
Uses of Screen in net.minecraft.client.gui.screens.controls
ModifierConstructorDescriptionControlsScreen
(Screen p_97519_, Options p_97520_) KeyBindsScreen
(Screen p_193980_, Options p_193981_) -
Uses of Screen in net.minecraft.client.gui.screens.debug
-
Uses of Screen in net.minecraft.client.gui.screens.inventory
Modifier and TypeClassDescriptionclass
class
AbstractContainerScreen<T extends AbstractContainerMenu>
class
AbstractFurnaceScreen<T extends AbstractFurnaceMenu>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
ItemCombinerScreen<T extends ItemCombinerMenu>
class
class
class
class
class
class
class
class
class
class
class
-
Uses of Screen in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
JoinMultiplayerScreen.lastScreen
private final Screen
Realms32bitWarningScreen.previous
private final Screen
SafetyScreen.previous
ModifierConstructorDescriptionJoinMultiplayerScreen
(Screen p_99688_) Realms32bitWarningScreen
(Screen p_210898_) SafetyScreen
(Screen p_99743_) -
Uses of Screen in net.minecraft.client.gui.screens.packs
-
Uses of Screen in net.minecraft.client.gui.screens.reporting
Modifier and TypeClassDescriptionclass
(package private) class
class
class
Modifier and TypeFieldDescription(package private) final Screen
ChatReportScreen.lastScreen
private final Screen
ChatSelectionScreen.lastScreen
private final Screen
ReportReasonSelectionScreen.lastScreen
ModifierConstructorDescriptionChatReportScreen
(Screen p_239116_, ReportingContext p_239117_, UUID p_239118_) private
ChatReportScreen
(Screen p_253839_, ReportingContext p_254386_, ChatReportBuilder p_254309_) ChatReportScreen
(Screen p_254505_, ReportingContext p_254531_, ChatReportBuilder.ChatReport p_253775_) ChatSelectionScreen
(Screen p_239090_, ReportingContext p_239091_, ChatReportBuilder p_239092_, Consumer<ChatReportBuilder> p_239093_) ReportReasonSelectionScreen
(Screen p_239438_, ReportReason p_239439_, Consumer<ReportReason> p_239440_) -
Uses of Screen in net.minecraft.client.gui.screens.social
-
Uses of Screen in net.minecraft.client.gui.screens.telemetry
-
Uses of Screen in net.minecraft.client.gui.screens.worldselection
Modifier and TypeClassDescriptionclass
(package private) class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
CreateWorldScreen.lastScreen
protected final Screen
SelectWorldScreen.lastScreen
private final Screen
ExperimentsScreen.parent
Modifier and TypeMethodDescriptionPresetEditor.createEditScreen
(CreateWorldScreen p_232977_, WorldCreationContext p_232978_) Modifier and TypeMethodDescriptionprivate void
WorldOpenFlows.askForBackup
(Screen p_233141_, String p_233142_, boolean p_233143_, Runnable p_233144_) static CreateWorldScreen
CreateWorldScreen.createFromExisting
(Minecraft p_276017_, Screen p_276029_, LevelSettings p_276055_, WorldCreationContext p_276028_, Path p_276040_) private void
WorldOpenFlows.doLoadLevel
(Screen p_233146_, String p_233147_, boolean p_233148_, boolean p_233149_) private void
WorldOpenFlows.doLoadLevel
(Screen p_233146_, String p_233147_, boolean p_233148_, boolean p_233149_, boolean confirmExperimentalWarning) void
static void
ModifierConstructorDescriptionprivate
CreateWorldScreen
(Minecraft p_276053_, Screen p_276049_, WorldCreationContext p_276047_, Optional<ResourceKey<WorldPreset>> p_276013_, OptionalLong p_276031_) protected
ExperimentsScreen
(Screen p_270165_, PackRepository p_270308_, Consumer<PackRepository> p_270392_) SelectWorldScreen
(Screen p_101338_) -
Uses of Screen in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Screen
ClientPacketListener.callbackScreen
private final Screen
ClientHandshakePacketListenerImpl.parent
ModifierConstructorDescriptionClientHandshakePacketListenerImpl
(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_) ClientPacketListener
(Minecraft p_253924_, Screen p_254239_, Connection p_253614_, ServerData p_254072_, com.mojang.authlib.GameProfile p_254079_, WorldSessionTelemetryManager p_262115_) -
Uses of Screen in net.minecraft.client.multiplayer.chat.report
Modifier and TypeMethodDescriptionvoid
ReportingContext.draftReportHandled
(Minecraft p_261771_, Screen p_261866_, Runnable p_262031_, boolean p_261540_) -
Uses of Screen in net.minecraft.realms
Modifier and TypeFieldDescription(package private) final Screen
RealmsConnect.onlineScreen
private final Screen
DisconnectedRealmsScreen.parent
ModifierConstructorDescriptionDisconnectedRealmsScreen
(Screen p_120653_, Component p_120654_, Component p_120655_) RealmsConnect
(Screen p_120693_) -
Uses of Screen in net.minecraftforge.client
Modifier and TypeFieldDescriptionForgeHooksClient.guiLayers
Contains the *extra* GUI layers.private final BiFunction<Minecraft,
Screen, Screen> ConfigScreenHandler.ConfigScreenFactory.screenFunction
The field for thescreenFunction
record component.private final BiFunction<Minecraft,
Screen, Screen> ConfigScreenHandler.ConfigScreenFactory.screenFunction
The field for thescreenFunction
record component.Modifier and TypeMethodDescriptionstatic Optional<BiFunction<Minecraft,
Screen, Screen>> ConfigScreenHandler.getScreenFactoryFor
(net.minecraftforge.forgespi.language.IModInfo selectedMod) static Optional<BiFunction<Minecraft,
Screen, Screen>> ConfigScreenHandler.getScreenFactoryFor
(net.minecraftforge.forgespi.language.IModInfo selectedMod) ConfigScreenHandler.ConfigScreenFactory.screenFunction()
Returns the value of thescreenFunction
record component.ConfigScreenHandler.ConfigScreenFactory.screenFunction()
Returns the value of thescreenFunction
record component.Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.drawScreen
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) private static void
ForgeHooksClient.drawScreenInternal
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) static void
ForgeHooksClient.onScreenCharTypedPost
(Screen guiScreen, char codePoint, int modifiers) static boolean
ForgeHooksClient.onScreenCharTypedPre
(Screen guiScreen, char codePoint, int modifiers) static boolean
ForgeHooksClient.onScreenKeyPressedPost
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ForgeHooksClient.onScreenKeyPressedPre
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ForgeHooksClient.onScreenKeyReleasedPost
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ForgeHooksClient.onScreenKeyReleasedPre
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ForgeHooksClient.onScreenMouseClickedPost
(Screen guiScreen, double mouseX, double mouseY, int button, boolean handled) static boolean
ForgeHooksClient.onScreenMouseClickedPre
(Screen guiScreen, double mouseX, double mouseY, int button) static void
ForgeHooksClient.onScreenMouseDragPost
(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY) static boolean
ForgeHooksClient.onScreenMouseDragPre
(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY) static boolean
ForgeHooksClient.onScreenMouseReleasedPost
(Screen guiScreen, double mouseX, double mouseY, int button, boolean handled) static boolean
ForgeHooksClient.onScreenMouseReleasedPre
(Screen guiScreen, double mouseX, double mouseY, int button) static void
ForgeHooksClient.onScreenMouseScrollPost
(MouseHandler mouseHelper, Screen guiScreen, double scrollDelta) static boolean
ForgeHooksClient.onScreenMouseScrollPre
(MouseHandler mouseHelper, Screen guiScreen, double scrollDelta) ForgeHooksClient.onScreenPotionSize
(Screen screen, int availableSpace, boolean compact, int horizontalOffset) static void
ForgeHooksClient.pushGuiLayer
(Minecraft minecraft, Screen screen) ModifierConstructorDescriptionConfigScreenFactory
(BiFunction<Minecraft, Screen, Screen> screenFunction) Creates an instance of aConfigScreenFactory
record class.ConfigScreenFactory
(BiFunction<Minecraft, Screen, Screen> screenFunction) Creates an instance of aConfigScreenFactory
record class. -
Uses of Screen in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final @Nullable Screen
ScreenEvent.Opening.currentScreen
private Screen
ScreenEvent.Opening.newScreen
private final Screen
ScreenEvent.screen
Modifier and TypeMethodDescription@Nullable Screen
ScreenEvent.Opening.getCurrentScreen()
Gets the currently open screen at the time of the event being fired.@Nullable Screen
ScreenEvent.Opening.getNewScreen()
ScreenEvent.getScreen()
Returns the screen that caused this event.Modifier and TypeMethodDescriptionvoid
ScreenEvent.Opening.setNewScreen
(Screen newScreen) Sets the new screen to be opened if the event is not cancelled.ModifierConstructorDescriptionBackgroundRendered
(Screen screen, GuiGraphics guiGraphics) CharacterTyped
(Screen screen, char codePoint, int modifiers) protected
Init
(Screen screen, List<GuiEventListener> listenerList, Consumer<GuiEventListener> add, Consumer<GuiEventListener> remove) protected
KeyPressed
(Screen screen, int keyCode, int scanCode, int modifiers) KeyReleased
(Screen screen, int keyCode, int scanCode, int modifiers) MouseButtonPressed
(Screen screen, double mouseX, double mouseY, int button) MouseButtonReleased
(Screen screen, double mouseX, double mouseY, int button) MouseDragged
(Screen screen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY) protected
MouseInput
(Screen screen, double mouseX, double mouseY) MouseScrolled
(Screen screen, double mouseX, double mouseY, double scrollDelta) Post
(Screen screen, List<GuiEventListener> list, Consumer<GuiEventListener> add, Consumer<GuiEventListener> remove) Post
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) Pre
(Screen screen, List<GuiEventListener> list, Consumer<GuiEventListener> add, Consumer<GuiEventListener> remove) Pre
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) protected
Render
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) RenderInventoryMobEffects
(Screen screen, int availableSpace, boolean compact, int horizontalOffset) protected
ScreenEvent
(Screen screen) -
Uses of Screen in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault void
IForgeMinecraft.pushGuiLayer
(Screen screen) Pushes a screen as a new GUI layer. -
Uses of Screen in net.minecraftforge.client.gui
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
ModMismatchDisconnectedScreen.parent
private Screen
ModListScreen.parentScreen
ModifierConstructorDescriptionModListScreen
(Screen parentScreen) ModMismatchDisconnectedScreen
(Screen parentScreen, Component title, Component reason, ConnectionData.ModMismatchData modMismatchData) -
Uses of Screen in net.minecraftforge.debug.client
Modifier and TypeClassDescriptionstatic class
(package private) static class
static class
class
-
Uses of Screen in net.minecraftforge.debug.misc
-
Uses of Screen in net.minecraftforge.debug.recipe.recipebook