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_) private static void
RealmsMainScreen.upgradeRealmAndPlay
(RealmsServer p_350306_, Screen p_351001_) -
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
Modifier and TypeFieldDescriptionprivate final Screen
AddRealmPopupScreen.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 TypeMethodDescriptionstatic 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_, RealmCreationTask p_320942_, Runnable p_300926_) static RealmsResetWorldScreen
RealmsResetWorldScreen.forResetSlot
(Screen p_301039_, RealmsServer p_300914_, Runnable p_301017_) static PopupScreen
RealmsPopups.infoPopupScreen
(Screen p_345107_, Component p_344859_, Consumer<PopupScreen> p_345991_) static PopupScreen
RealmsPopups.warningAcknowledgePopupScreen
(Screen p_345088_, Component p_344868_, Consumer<PopupScreen> p_344792_) static PopupScreen
RealmsPopups.warningPopupScreen
(Screen p_345623_, Component p_346338_, Consumer<PopupScreen> p_345246_) ModifierConstructorDescriptionAddRealmPopupScreen
(Screen p_344774_, boolean p_345980_) RealmsBackupInfoScreen
(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_) RealmsResetWorldScreen
(Screen p_306282_, RealmsServer p_306292_, int p_305906_, Component p_306014_, Component p_306028_, int p_306044_, Component p_306316_, RealmCreationTask p_320691_, 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 PopupScreen
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.disconnect
(Screen p_320248_, boolean p_319814_) void
Minecraft.forceSetScreen
(Screen p_91347_) void
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
private final Screen
OptionsList.Entry.screen
Modifier and TypeMethodDescriptionstatic OptionsList.Entry
OptionsList.Entry.big
(List<AbstractWidget> p_333829_, Screen p_334023_) static OptionsList.Entry
OptionsList.Entry.small
(AbstractWidget p_333824_, AbstractWidget p_333990_, Screen p_334077_) 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)
Entry
(List<AbstractWidget> p_333982_, Screen p_333707_) (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
static class
class
class
class
class
class
class
class
class
class
class
class
class
(package private) static 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
ShareToLanScreen.lastScreen
(package private) final Screen
ConnectScreen.parent
private final Screen
CreateBuffetWorldScreen.parent
private final Screen
DisconnectedScreen.parent
final Screen
PauseScreen.FeedbackSubScreen.parent
Modifier and TypeMethodDescriptionprivate static <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 TypeMethodDescription(package private) static void
PauseScreen.addFeedbackButtons
(Screen p_350532_, GridLayout.RowHelper p_351050_) private void
AccessibilityOnboardingScreen.closeAndSetScreen
(Screen p_272914_) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen p_275326_, String p_275241_) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen p_350304_, String p_350370_, boolean p_350962_) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen p_352385_, URI p_352416_) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen p_352068_, URI p_352436_, boolean p_352216_) static void
ConfirmLinkScreen.confirmLinkNow
(Screen p_275593_, String p_275417_) static void
ConfirmLinkScreen.confirmLinkNow
(Screen p_350478_, String p_350522_, boolean p_350852_) static void
ConfirmLinkScreen.confirmLinkNow
(Screen p_352190_, URI p_352392_) static void
ConfirmLinkScreen.confirmLinkNow
(Screen p_352415_, URI p_352168_, boolean p_352122_) private static Button
PauseScreen.openLinkButton
(Screen p_350313_, Component p_262593_, URI p_352111_) static void
ConnectScreen.startConnecting
(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_, TransferState p_320013_) Modifier and TypeMethodDescriptionprivate Button
PauseScreen.openScreenButton
(Component p_262567_, Supplier<Screen> p_262581_) ModifierConstructorDescriptionprivate
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_) DisconnectedScreen
(Screen p_350975_, Component p_350733_, DisconnectionDetails p_350337_) DisconnectedScreen
(Screen p_350946_, Component p_350644_, DisconnectionDetails p_350268_, Component p_350948_) EditServerScreen
(Screen p_96017_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_96018_, ServerData p_96019_) protected
FeedbackSubScreen
(Screen p_350989_) ShareToLanScreen
(Screen p_96650_) -
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.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
ServerLinksScreen.lastScreen
private final Screen
SafetyScreen.previous
ModifierConstructorDescriptionJoinMultiplayerScreen
(Screen p_99688_) (package private)
LinkListEntry
(Screen p_350500_, ServerLinks.Entry p_350677_) SafetyScreen
(Screen p_99743_) ServerLinksScreen
(Screen p_350433_, ServerLinks p_350491_) -
Uses of Screen in net.minecraft.client.gui.screens.options
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
OptionsScreen.lastScreen
protected final Screen
OptionsSubScreen.lastScreen
Modifier and TypeMethodDescriptionprivate Button
OptionsScreen.openScreenButton
(Component p_345646_, Supplier<Screen> p_345565_) ModifierConstructorDescriptionAccessibilityOptionsScreen
(Screen p_344941_, Options p_344986_) ChatOptionsScreen
(Screen p_345947_, Options p_345195_) FontOptionsScreen
(Screen p_345371_, Options p_345464_) LanguageSelectScreen
(Screen p_345780_, Options p_344823_, LanguageManager p_344876_) MouseSettingsScreen
(Screen p_344816_, Options p_346286_) OnlineOptionsScreen
(Screen p_345316_, Options p_346369_) OptionsScreen
(Screen p_346430_, Options p_344748_) OptionsSubScreen
(Screen p_345104_, Options p_346116_, Component p_344987_) SkinCustomizationScreen
(Screen p_346103_, Options p_345751_) SoundOptionsScreen
(Screen p_345995_, Options p_345465_) VideoSettingsScreen
(Screen p_345053_, Minecraft p_346149_, Options p_346198_) -
Uses of Screen in net.minecraft.client.gui.screens.options.controls
ModifierConstructorDescriptionControlsScreen
(Screen p_345870_, Options p_345150_) KeyBindsScreen
(Screen p_344996_, Options p_344771_) -
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
(DisconnectionDetails p_350769_) protected Screen
ClientConfigurationPacketListenerImpl.createDisconnectScreen
(DisconnectionDetails p_350769_) 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_, TransferState p_320762_) CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, Map<String, String> customReportDetails, ServerLinks serverLinks) Deprecated.CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, Map<String, String> customReportDetails, ServerLinks serverLinks, ConnectionType connectionType) 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 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) -
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
Modifier and TypeFieldDescriptionprivate final Screen
ModMismatchDisconnectedScreen.parent
private Screen
ModListScreen.parentScreen
Modifier and TypeMethodDescriptionIConfigScreenFactory.createScreen
(Minecraft minecraft, Screen modListScreen) Creates a new config screen.Modifier and TypeMethodDescriptionIConfigScreenFactory.createScreen
(Minecraft minecraft, Screen modListScreen) Creates a new config screen.ModifierConstructorDescriptionModListScreen
(Screen parentScreen) ModMismatchDisconnectedScreen
(Screen parentScreen, Component reason, 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
instead