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 TypeMethodDescriptionprivate static void
RealmsMainScreen.confirmToPlay
(RealmsServer p_305792_, Screen p_306263_, Component p_305782_, Component p_306311_, Component p_306238_) RealmsAvailability.Result.createErrorScreen
(Screen p_296406_) static void
RealmsMainScreen.play
(RealmsServer p_86516_, Screen p_86517_) static void
RealmsMainScreen.play
(RealmsServer p_305964_, Screen p_305959_, boolean p_306296_) -
Uses of Screen in com.mojang.realmsclient.dto
Modifier and TypeMethodDescriptionRealmsNotification.VisitUrl.buildOpenLinkButton
(Screen p_275412_) RealmsNotification.InfoPopup.buildScreen
(Screen p_304415_, Consumer<UUID> p_304962_) -
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
class
class
Modifier and TypeFieldDescriptionprivate final Screen
RealmsPopupScreen.backgroundScreen
private 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
RealmsParentalConsentScreen.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
Modifier and TypeMethodDescriptionvoid
RealmsConfigureWorldScreen.closeTheWorld
(Screen p_88453_) static RealmsResetWorldScreen
RealmsResetWorldScreen.forEmptySlot
(Screen p_300943_, int p_301275_, RealmsServer p_301312_, Runnable p_301297_) static RealmsResetWorldScreen
RealmsResetWorldScreen.forNewRealm
(Screen p_300881_, RealmsServer p_301228_, WorldCreationTask p_305849_, Runnable p_300926_) static RealmsResetWorldScreen
RealmsResetWorldScreen.forResetSlot
(Screen p_301039_, RealmsServer p_300914_, Runnable p_301017_) void
RealmsConfigureWorldScreen.openTheWorld
(boolean p_88460_, Screen p_88461_) ModifierConstructorDescriptionRealmsBackupInfoScreen
(Screen p_88048_, Backup p_88049_) RealmsBrokenWorldScreen
(Screen p_88296_, 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_305868_) RealmsLongRunningMcoTickTaskScreen
(Screen p_301165_, LongRunningTask p_300864_) RealmsParentalConsentScreen
(Screen p_88861_) RealmsPendingInvitesScreen
(Screen p_279260_, Component p_279122_) RealmsPopupScreen
(Screen p_294399_, boolean p_295328_) RealmsResetWorldScreen
(Screen p_306282_, RealmsServer p_306292_, int p_305906_, Component p_306014_, Component p_306028_, int p_306044_, Component p_306316_, WorldCreationTask p_306095_, Runnable p_306029_) private
RealmsResetWorldScreen
(Screen p_89329_, RealmsServer p_89330_, int p_300857_, Component p_301121_, Component p_300859_, int p_300978_, Component p_300942_, Runnable p_89331_) RealmsSubscriptionInfoScreen
(Screen p_89979_, RealmsServer p_89980_, Screen p_89981_) RealmsTermsScreen
(Screen p_90033_, 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
OpenServerTask.returnScreen
Modifier and TypeMethodDescriptionprivate RealmsLongConfirmationScreen
GetServerDetailsTask.resourcePackDownloadConfirmationScreen
(RealmsServerAddress p_167640_, UUID p_315014_, 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
(Screen p_90333_, RealmsServer p_90334_) OpenServerTask
(RealmsServer p_181344_, Screen p_181345_, boolean p_181347_, Minecraft p_181348_) -
Uses of Screen in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
Minecraft.clearClientLevel
(Screen p_294558_) void
Minecraft.disconnect
(Screen p_91321_) void
Minecraft.forceSetScreen
(Screen p_91347_) void
void
Realms32BitWarningStatus.showRealms32BitWarningIfNeeded
(Screen p_232209_) private void
Minecraft.updateScreenAndTick
(Screen p_91363_) Modifier and TypeMethodDescriptionprivate void
Minecraft.addInitialScreens
(List<Function<Runnable, Screen>> p_300000_) -
Uses of Screen in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate final Screen
PopupScreen.backgroundScreen
private final Screen
PopupScreen.Builder.backgroundScreen
private final Screen
CommandSuggestions.screen
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_) (package private)
PopupScreen
(Screen p_304589_, int p_304486_, ResourceLocation p_304853_, Component p_304839_, Component p_304571_, List<PopupScreen.ButtonOption> p_304767_, Runnable p_304826_) -
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
class
Modifier and TypeFieldDescriptionprivate 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_) Deprecated.Modifier and TypeMethodDescriptionstatic Screen
NoticeWithLinkScreen.createPackSymlinkWarningScreen
(Runnable p_307294_) static Screen
NoticeWithLinkScreen.createWorldSymlinkWarningScreen
(Runnable p_307422_) Modifier and TypeMethodDescriptionprivate void
AccessibilityOnboardingScreen.closeAndSetScreen
(Screen p_272914_) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen p_275326_, String p_275241_) static void
ConfirmLinkScreen.confirmLinkNow
(Screen p_275593_, String p_275417_) 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_) 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_) 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
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
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
AbstractReportScreen<B extends Report.Builder<?>>
(package private) class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprotected final Screen
AbstractReportScreen.lastScreen
private final Screen
ChatSelectionScreen.lastScreen
private final Screen
ReportPlayerScreen.lastScreen
private final Screen
ReportReasonSelectionScreen.lastScreen
ModifierConstructorDescriptionprotected
AbstractReportScreen
(Component p_299999_, Screen p_300006_, ReportingContext p_299904_, B p_299834_) ChatReportScreen
(Screen p_239116_, ReportingContext p_239117_, UUID p_239118_) ChatReportScreen
(Screen p_254505_, ReportingContext p_254531_, ChatReport p_299964_) private
ChatReportScreen
(Screen p_253839_, ReportingContext p_254386_, ChatReport.Builder p_299987_) ChatSelectionScreen
(Screen p_239090_, ReportingContext p_239091_, ChatReport.Builder p_299898_, Consumer<ChatReport.Builder> p_239093_) NameReportScreen
(Screen p_299947_, ReportingContext p_299966_, UUID p_299912_, String p_299935_) NameReportScreen
(Screen p_299861_, ReportingContext p_300015_, NameReport p_299994_) private
NameReportScreen
(Screen p_299832_, ReportingContext p_300026_, NameReport.Builder p_299866_) ReportPlayerScreen
(Screen p_299954_, ReportingContext p_299878_, PlayerEntry p_299949_) ReportReasonSelectionScreen
(Screen p_239438_, ReportReason p_239439_, Consumer<ReportReason> p_239440_) SkinReportScreen
(Screen p_299906_, ReportingContext p_299981_, UUID p_299970_, Supplier<PlayerSkin> p_299980_) SkinReportScreen
(Screen p_299996_, ReportingContext p_299971_, SkinReport p_299899_) private
SkinReportScreen
(Screen p_299943_, ReportingContext p_299995_, SkinReport.Builder p_299886_) -
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 TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_, Screen p_307305_) static CreateWorldScreen
CreateWorldScreen.createFromExisting
(Minecraft p_276017_, Screen p_276029_, LevelSettings p_276055_, WorldCreationContext p_276028_, Path p_276040_) static void
ModifierConstructorDescriptionprivate
CreateWorldScreen
(Minecraft p_276053_, Screen p_276049_, WorldCreationContext p_276047_, Optional<ResourceKey<WorldPreset>> p_276013_, OptionalLong p_276031_) 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 TypeClassDescription(package private) class
Modifier and TypeFieldDescriptionprivate final Screen
ClientHandshakePacketListenerImpl.parent
private final Screen
ClientCommonPacketListenerImpl.PackConfirmScreen.parentScreen
protected final Screen
ClientCommonPacketListenerImpl.postDisconnectScreen
private final Screen
CommonListenerCookie.postDisconnectScreen
The field for thepostDisconnectScreen
record component.Modifier and TypeMethodDescriptionprivate Screen
ClientCommonPacketListenerImpl.addOrUpdatePackPrompt
(UUID p_314948_, URL p_315012_, String p_314981_, boolean p_315013_, Component p_314960_) protected Screen
ClientCommonPacketListenerImpl.createDisconnectScreen
(Component p_296470_) protected Screen
ClientConfigurationPacketListenerImpl.createDisconnectScreen
(Component p_296470_) CommonListenerCookie.postDisconnectScreen()
Returns the value of thepostDisconnectScreen
record component.ModifierConstructorDescriptionClientHandshakePacketListenerImpl
(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_) CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen) Deprecated.UseCommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, boolean)
instead, to indicate whether the connection is modded.CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, boolean isModdedConnection) Creates an instance of aCommonListenerCookie
record class.(package private)
PackConfirmScreen
(Minecraft p_314973_, Screen p_315016_, List<ClientCommonPacketListenerImpl.PackConfirmScreen.PendingRequest> p_314994_, boolean p_314923_, Component p_314940_) -
Uses of Screen in net.minecraft.client.multiplayer.chat.report
Modifier and TypeMethodDescriptionChatReport.createScreen
(Screen p_300022_, ReportingContext p_299859_) NameReport.createScreen
(Screen p_299843_, ReportingContext p_299844_) abstract Screen
Report.createScreen
(Screen p_299960_, ReportingContext p_299959_) SkinReport.createScreen
(Screen p_299975_, ReportingContext p_299961_) Modifier and TypeMethodDescriptionChatReport.createScreen
(Screen p_300022_, ReportingContext p_299859_) NameReport.createScreen
(Screen p_299843_, ReportingContext p_299844_) abstract Screen
Report.createScreen
(Screen p_299960_, ReportingContext p_299959_) SkinReport.createScreen
(Screen p_299975_, ReportingContext p_299961_) void
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.neoforged.neoforge.client
Modifier and TypeFieldDescriptionClientHooks.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.neoforged.neoforgespi.language.IModInfo selectedMod) static Optional<BiFunction<Minecraft,
Screen, Screen>> ConfigScreenHandler.getScreenFactoryFor
(net.neoforged.neoforgespi.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
ClientHooks.drawScreen
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) private static void
ClientHooks.drawScreenInternal
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) static void
ClientHooks.onScreenCharTypedPost
(Screen guiScreen, char codePoint, int modifiers) static boolean
ClientHooks.onScreenCharTypedPre
(Screen guiScreen, char codePoint, int modifiers) static boolean
ClientHooks.onScreenKeyPressedPost
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ClientHooks.onScreenKeyPressedPre
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ClientHooks.onScreenKeyReleasedPost
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ClientHooks.onScreenKeyReleasedPre
(Screen guiScreen, int keyCode, int scanCode, int modifiers) static boolean
ClientHooks.onScreenMouseClickedPost
(Screen guiScreen, double mouseX, double mouseY, int button, boolean handled) static boolean
ClientHooks.onScreenMouseClickedPre
(Screen guiScreen, double mouseX, double mouseY, int button) static void
ClientHooks.onScreenMouseDragPost
(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY) static boolean
ClientHooks.onScreenMouseDragPre
(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY) static boolean
ClientHooks.onScreenMouseReleasedPost
(Screen guiScreen, double mouseX, double mouseY, int button, boolean handled) static boolean
ClientHooks.onScreenMouseReleasedPre
(Screen guiScreen, double mouseX, double mouseY, int button) static void
ClientHooks.onScreenMouseScrollPost
(MouseHandler mouseHelper, Screen guiScreen, double scrollDeltaX, double scrollDeltaY) static boolean
ClientHooks.onScreenMouseScrollPre
(MouseHandler mouseHelper, Screen guiScreen, double scrollDeltaX, double scrollDeltaY) ClientHooks.onScreenPotionSize
(Screen screen, int availableSpace, boolean compact, int horizontalOffset) static void
ClientHooks.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.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final @Nullable Screen
ScreenEvent.Opening.currentScreen
private Screen
ScreenEvent.Opening.newScreen
private final Screen
ScreenEvent.screen
Modifier and TypeMethodDescription<M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidRegisterMenuScreensEvent.register
(MenuType<? extends M> menuType, MenuScreens.ScreenConstructor<M, U> screenConstructor) 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 scrollDeltaX, double scrollDeltaY) 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.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptiondefault void
IMinecraftExtension.pushGuiLayer
(Screen screen) Pushes a screen as a new GUI layer. -
Uses of Screen in net.neoforged.neoforge.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, Map<ResourceLocation, Component> mismatchedChannelData) -
Uses of Screen in net.neoforged.neoforge.debug.client
-
Uses of Screen in net.neoforged.neoforge.oldtest.client
Modifier and TypeClassDescriptionstatic class
(package private) static class
class
-
Uses of Screen in net.neoforged.neoforge.oldtest.misc
-
Uses of Screen in net.neoforged.neoforge.oldtest.recipebook
-
Uses of Screen in net.neoforged.testframework.client
RegisterMenuScreensEvent
to register menu screens + TODO 1.20.5: remove AT related to this