Uses of Class
net.minecraft.client.gui.screens.Screen
Packages that use 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
Subclasses of Screen in com.mojang.realmsclientFields in com.mojang.realmsclient declared as ScreenMethods in com.mojang.realmsclient that return ScreenMethods in com.mojang.realmsclient with parameters of type ScreenModifier and TypeMethodDescriptionprivate static void
RealmsMainScreen.confirmToPlay
(RealmsServer realmsServer, Screen lastScreen, Component title, Component message, Component confirmButton) RealmsAvailability.Result.createErrorScreen
(Screen lastScreen) static void
RealmsMainScreen.play
(RealmsServer realmsServer, Screen lastScreen) static void
RealmsMainScreen.play
(RealmsServer realmsServer, Screen lastScreen, boolean allowSnapshots) private static void
RealmsMainScreen.upgradeRealmAndPlay
(RealmsServer server, Screen lastScreen) Constructors in com.mojang.realmsclient with parameters of type Screen -
Uses of Screen in com.mojang.realmsclient.dto
Methods in com.mojang.realmsclient.dto with parameters of type ScreenModifier and TypeMethodDescriptionRealmsNotification.VisitUrl.buildOpenLinkButton
(Screen lastScreen) RealmsNotification.InfoPopup.buildScreen
(Screen backgroundScreen, Consumer<UUID> uuidOutput) -
Uses of Screen in com.mojang.realmsclient.gui.screens
Subclasses of Screen in com.mojang.realmsclient.gui.screensModifier 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
Fields in com.mojang.realmsclient.gui.screens declared as ScreenModifier 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
Methods in com.mojang.realmsclient.gui.screens with parameters of type ScreenModifier and TypeMethodDescriptionstatic RealmsResetWorldScreen
RealmsResetWorldScreen.forEmptySlot
(Screen lastScreen, int slot, RealmsServer serverData, Runnable resetWorldRunnable) static RealmsResetWorldScreen
RealmsResetWorldScreen.forNewRealm
(Screen lastScreen, RealmsServer serverData, RealmCreationTask realmCreationTask, Runnable resetWorldRunnable) static RealmsResetWorldScreen
RealmsResetWorldScreen.forResetSlot
(Screen lastScreen, RealmsServer serverData, Runnable resetWorldRunnable) static PopupScreen
RealmsPopups.infoPopupScreen
(Screen backgroundScreen, Component message, Consumer<PopupScreen> onContinue) static PopupScreen
RealmsPopups.warningAcknowledgePopupScreen
(Screen backgroundScreen, Component message, Consumer<PopupScreen> onContinue) static PopupScreen
RealmsPopups.warningPopupScreen
(Screen backgroundScreen, Component message, Consumer<PopupScreen> onContinue) Constructors in com.mojang.realmsclient.gui.screens with parameters of type ScreenModifierConstructorDescriptionAddRealmPopupScreen
(Screen backgroundScreen, boolean trialAvailable) RealmsBackupInfoScreen
(Screen lastScreen, Backup backup) RealmsBrokenWorldScreen
(Screen lastScreen, long serverId, boolean isMinigame) RealmsClientOutdatedScreen
(Screen lastScreen) RealmsDownloadLatestWorldScreen
(Screen lastScreen, WorldDownload worldDownload, String worldName, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback) RealmsGenericErrorScreen
(RealmsServiceException serviceException, Screen nextScreen) RealmsGenericErrorScreen
(Component message, Screen nextScreen) RealmsGenericErrorScreen
(Component title, Component line2, Screen message) RealmsInviteScreen
(RealmsConfigureWorldScreen configureScreen, Screen lastScreen, RealmsServer serverData) RealmsLongRunningMcoTaskScreen
(Screen lastScreen, LongRunningTask... queuedTasks) RealmsLongRunningMcoTickTaskScreen
(Screen lastScreen, LongRunningTask task) RealmsParentalConsentScreen
(Screen nextScreen) RealmsPendingInvitesScreen
(Screen lastScreen, Component title) RealmsResetWorldScreen
(Screen lastScreen, RealmsServer serverData, int slot, Component title, Component subtitle, int subtitleColor, Component resetTaskTitle, RealmCreationTask realmCreationTask, Runnable resetWorldRunnable) private
RealmsResetWorldScreen
(Screen lastScreen, RealmsServer serverData, int slot, Component title, Component subtitle, int subtitleColor, Component resetTaskTitle, Runnable resetWorldRunnable) RealmsSubscriptionInfoScreen
(Screen lastScreen, RealmsServer serverData, Screen mainScreen) RealmsTermsScreen
(Screen lastScreen, RealmsServer realmsServer) -
Uses of Screen in com.mojang.realmsclient.util.task
Fields in com.mojang.realmsclient.util.task declared as ScreenModifier and TypeFieldDescriptionprivate final Screen
DownloadTask.lastScreen
private final Screen
GetServerDetailsTask.lastScreen
private final Screen
OpenServerTask.returnScreen
Methods in com.mojang.realmsclient.util.task with parameters of type ScreenMethod parameters in com.mojang.realmsclient.util.task with type arguments of type ScreenModifier and TypeMethodDescriptionprivate PopupScreen
GetServerDetailsTask.resourcePackDownloadConfirmationScreen
(RealmsServerAddress serverAddress, UUID packId, Function<RealmsServerAddress, Screen> connectScreen) Constructors in com.mojang.realmsclient.util.task with parameters of type ScreenModifierConstructorDescriptionConnectTask
(Screen onlineScreen, RealmsServer server, RealmsServerAddress address) DownloadTask
(long worldId, int slot, String downloadName, Screen lastScreen) GetServerDetailsTask
(Screen lastScreen, RealmsServer server) OpenServerTask
(RealmsServer serverData, Screen returnScreen, boolean join, Minecraft minecraft) -
Uses of Screen in net.minecraft.client
Fields in net.minecraft.client declared as ScreenMethods in net.minecraft.client with parameters of type ScreenModifier and TypeMethodDescriptionvoid
Minecraft.clearClientLevel
(Screen nextScreen) void
Minecraft.disconnect
(Screen nextScreen) void
Minecraft.disconnect
(Screen nextScreen, boolean keepResourcePacks) void
Minecraft.forceSetScreen
(Screen screen) void
private void
Minecraft.updateScreenAndTick
(Screen screen) Method parameters in net.minecraft.client with type arguments of type ScreenModifier and TypeMethodDescriptionprivate void
Minecraft.addInitialScreens
(List<Function<Runnable, Screen>> output) -
Uses of Screen in net.minecraft.client.gui.components
Subclasses of Screen in net.minecraft.client.gui.componentsFields in net.minecraft.client.gui.components declared as ScreenModifier and TypeFieldDescriptionprivate final Screen
PopupScreen.backgroundScreen
private final Screen
PopupScreen.Builder.backgroundScreen
private final Screen
CommandSuggestions.screen
private final Screen
OptionsList.Entry.screen
Methods in net.minecraft.client.gui.components with parameters of type ScreenModifier and TypeMethodDescriptionstatic OptionsList.Entry
OptionsList.Entry.big
(List<AbstractWidget> options, Screen screen) static OptionsList.Entry
OptionsList.Entry.small
(AbstractWidget leftOption, AbstractWidget rightOption, Screen screen) Constructors in net.minecraft.client.gui.components with parameters of type ScreenModifierConstructorDescriptionCommandSuggestions
(Minecraft minecraft, Screen screen, EditBox input, Font font, boolean commandsOnly, boolean onlyShowIfCursorPastError, int lineStartOffset, int suggestionLineLimit, boolean anchorToBottom, int fillColor) (package private)
Entry
(List<AbstractWidget> children, Screen screen) (package private)
PopupScreen
(Screen backgroundScreen, int width, ResourceLocation image, Component title, Component message, List<PopupScreen.ButtonOption> buttons, Runnable onClose) -
Uses of Screen in net.minecraft.client.gui.layouts
Fields in net.minecraft.client.gui.layouts declared as ScreenConstructors in net.minecraft.client.gui.layouts with parameters of type ScreenModifierConstructorDescriptionHeaderAndFooterLayout
(Screen screen) HeaderAndFooterLayout
(Screen screen, int height) HeaderAndFooterLayout
(Screen screen, int headerHeight, int footerHeight) -
Uses of Screen in net.minecraft.client.gui.screens
Classes in net.minecraft.client.gui.screens with type parameters of type ScreenModifier and TypeInterfaceDescriptionstatic interface
MenuScreens.ScreenConstructor<T extends AbstractContainerMenu,
U extends Screen & MenuAccess<T>> Subclasses of Screen in net.minecraft.client.gui.screensModifier 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
Fields in net.minecraft.client.gui.screens declared as ScreenModifier 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
Methods in net.minecraft.client.gui.screens with type parameters of type ScreenModifier and TypeMethodDescriptionprivate static <M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidMenuScreens.register
(MenuType<? extends M> type, MenuScreens.ScreenConstructor<M, U> factory) Deprecated.Methods in net.minecraft.client.gui.screens that return ScreenModifier and TypeMethodDescriptionstatic Screen
NoticeWithLinkScreen.createPackSymlinkWarningScreen
(Runnable onClose) static Screen
NoticeWithLinkScreen.createWorldSymlinkWarningScreen
(Runnable onClose) Methods in net.minecraft.client.gui.screens with parameters of type ScreenModifier and TypeMethodDescription(package private) static void
PauseScreen.addFeedbackButtons
(Screen lastScreen, GridLayout.RowHelper rowHelper) private void
AccessibilityOnboardingScreen.closeAndSetScreen
(Screen screen) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, String url) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, String url, boolean trusted) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, URI uri) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, URI uri, boolean trusted) static void
ConfirmLinkScreen.confirmLinkNow
(Screen lastScreen, String url) static void
ConfirmLinkScreen.confirmLinkNow
(Screen lastScreen, String url, boolean trusted) static void
ConfirmLinkScreen.confirmLinkNow
(Screen lastScreen, URI uri) static void
ConfirmLinkScreen.confirmLinkNow
(Screen lastScreen, URI uri, boolean trusted) private static Button
PauseScreen.openLinkButton
(Screen lastScreen, Component buttonText, URI uri) static void
ConnectScreen.startConnecting
(Screen parent, Minecraft minecraft, ServerAddress serverAddress, ServerData serverData, boolean isQuickPlay, TransferState transferState) Method parameters in net.minecraft.client.gui.screens with type arguments of type ScreenModifier and TypeMethodDescriptionprivate Button
PauseScreen.openScreenButton
(Component message, Supplier<Screen> screenSupplier) Constructors in net.minecraft.client.gui.screens with parameters of type ScreenModifierConstructorDescriptionprivate
ConnectScreen
(Screen parent, Component connectFailedTitle) CreateBuffetWorldScreen
(Screen parent, WorldCreationContext context, Consumer<Holder<Biome>> applySettings) CreditsAndAttributionScreen
(Screen lastScreen) DirectJoinServerScreen
(Screen lastScreen, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, ServerData serverData) DisconnectedScreen
(Screen parent, Component title, Component reason) DisconnectedScreen
(Screen parent, Component title, Component reason, Component buttonText) DisconnectedScreen
(Screen parent, Component title, DisconnectionDetails details) DisconnectedScreen
(Screen parent, Component title, DisconnectionDetails details, Component buttonText) EditServerScreen
(Screen lastScreen, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, ServerData serverData) protected
FeedbackSubScreen
(Screen parent) ShareToLanScreen
(Screen lastScreen) -
Uses of Screen in net.minecraft.client.gui.screens.achievement
Subclasses of Screen in net.minecraft.client.gui.screens.achievementFields in net.minecraft.client.gui.screens.achievement declared as ScreenConstructors in net.minecraft.client.gui.screens.achievement with parameters of type Screen -
Uses of Screen in net.minecraft.client.gui.screens.advancements
Subclasses of Screen in net.minecraft.client.gui.screens.advancementsFields in net.minecraft.client.gui.screens.advancements declared as ScreenConstructors in net.minecraft.client.gui.screens.advancements with parameters of type ScreenModifierConstructorDescriptionAdvancementsScreen
(ClientAdvancements advancements, Screen lastScreen) -
Uses of Screen in net.minecraft.client.gui.screens.debug
Subclasses of Screen in net.minecraft.client.gui.screens.debug -
Uses of Screen in net.minecraft.client.gui.screens.inventory
Subclasses of Screen in net.minecraft.client.gui.screens.inventoryModifier 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
Subclasses of Screen in net.minecraft.client.gui.screens.multiplayerModifier and TypeClassDescriptionclass
class
class
class
class
Fields in net.minecraft.client.gui.screens.multiplayer declared as ScreenModifier and TypeFieldDescriptionprivate final Screen
JoinMultiplayerScreen.lastScreen
private final Screen
ServerLinksScreen.lastScreen
private final Screen
SafetyScreen.previous
Constructors in net.minecraft.client.gui.screens.multiplayer with parameters of type ScreenModifierConstructorDescriptionJoinMultiplayerScreen
(Screen lastScreen) (package private)
LinkListEntry
(Screen screen, ServerLinks.Entry entry) SafetyScreen
(Screen previous) ServerLinksScreen
(Screen lastScreen, ServerLinks links) -
Uses of Screen in net.minecraft.client.gui.screens.options
Subclasses of Screen in net.minecraft.client.gui.screens.optionsModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.client.gui.screens.options declared as ScreenModifier and TypeFieldDescriptionprivate final Screen
OptionsScreen.lastScreen
protected final Screen
OptionsSubScreen.lastScreen
Method parameters in net.minecraft.client.gui.screens.options with type arguments of type ScreenModifier and TypeMethodDescriptionprivate Button
OptionsScreen.openScreenButton
(Component name, Supplier<Screen> screenSupplier) Constructors in net.minecraft.client.gui.screens.options with parameters of type ScreenModifierConstructorDescriptionAccessibilityOptionsScreen
(Screen lastScreen, Options options) ChatOptionsScreen
(Screen lastScreen, Options options) FontOptionsScreen
(Screen lastScreen, Options options) LanguageSelectScreen
(Screen lastScreen, Options options, LanguageManager languageManager) MouseSettingsScreen
(Screen lastScreen, Options options) OnlineOptionsScreen
(Screen lastScreen, Options options) OptionsScreen
(Screen lastScreen, Options options) OptionsSubScreen
(Screen lastScreen, Options options, Component title) SkinCustomizationScreen
(Screen lastScreen, Options options) SoundOptionsScreen
(Screen lastScreen, Options options) VideoSettingsScreen
(Screen lastScreen, Minecraft minecraft, Options options) -
Uses of Screen in net.minecraft.client.gui.screens.options.controls
Subclasses of Screen in net.minecraft.client.gui.screens.options.controlsConstructors in net.minecraft.client.gui.screens.options.controls with parameters of type ScreenModifierConstructorDescriptionControlsScreen
(Screen lastScreen, Options options) KeyBindsScreen
(Screen lastScreen, Options options) -
Uses of Screen in net.minecraft.client.gui.screens.packs
Subclasses of Screen in net.minecraft.client.gui.screens.packs -
Uses of Screen in net.minecraft.client.gui.screens.reporting
Subclasses of Screen in net.minecraft.client.gui.screens.reportingModifier and TypeClassDescriptionclass
AbstractReportScreen<B extends Report.Builder<?>>
(package private) class
class
class
class
class
class
class
Fields in net.minecraft.client.gui.screens.reporting declared as ScreenModifier and TypeFieldDescriptionprotected final Screen
AbstractReportScreen.lastScreen
private final Screen
ChatSelectionScreen.lastScreen
private final Screen
ReportPlayerScreen.lastScreen
private final Screen
ReportReasonSelectionScreen.lastScreen
Constructors in net.minecraft.client.gui.screens.reporting with parameters of type ScreenModifierConstructorDescriptionprotected
AbstractReportScreen
(Component title, Screen lastScreen, ReportingContext reportingContext, B reportBuilder) ChatReportScreen
(Screen lastScreen, ReportingContext reportingContext, UUID reportId) ChatReportScreen
(Screen lastScreen, ReportingContext reportContext, ChatReport report) private
ChatReportScreen
(Screen lastScreen, ReportingContext reportingContext, ChatReport.Builder reportBuilder) ChatSelectionScreen
(Screen lastScreen, ReportingContext reportingContext, ChatReport.Builder report, Consumer<ChatReport.Builder> onSelected) NameReportScreen
(Screen lastScreen, ReportingContext reportingContext, UUID reportedProfileId, String reportedName) NameReportScreen
(Screen lastScreen, ReportingContext reportingContext, NameReport report) private
NameReportScreen
(Screen lastScreen, ReportingContext reportingContext, NameReport.Builder reportBuilder) ReportPlayerScreen
(Screen lastScreen, ReportingContext context, PlayerEntry player) ReportReasonSelectionScreen
(Screen lastScreen, ReportReason currentlySelectedReason, Consumer<ReportReason> onSelectedReason) SkinReportScreen
(Screen lastScreen, ReportingContext reportingContext, UUID reportId, Supplier<PlayerSkin> skinGetter) SkinReportScreen
(Screen lastScreen, ReportingContext reportingContext, SkinReport report) private
SkinReportScreen
(Screen lastScreen, ReportingContext reportingContext, SkinReport.Builder reportBuilder) -
Uses of Screen in net.minecraft.client.gui.screens.social
Subclasses of Screen in net.minecraft.client.gui.screens.socialFields in net.minecraft.client.gui.screens.social declared as ScreenConstructors in net.minecraft.client.gui.screens.social with parameters of type Screen -
Uses of Screen in net.minecraft.client.gui.screens.telemetry
Subclasses of Screen in net.minecraft.client.gui.screens.telemetryFields in net.minecraft.client.gui.screens.telemetry declared as ScreenConstructors in net.minecraft.client.gui.screens.telemetry with parameters of type Screen -
Uses of Screen in net.minecraft.client.gui.screens.worldselection
Subclasses of Screen in net.minecraft.client.gui.screens.worldselectionModifier and TypeClassDescriptionclass
(package private) class
class
class
class
class
class
class
Fields in net.minecraft.client.gui.screens.worldselection declared as ScreenModifier and TypeFieldDescriptionprivate final Screen
CreateWorldScreen.lastScreen
protected final Screen
SelectWorldScreen.lastScreen
private final Screen
ExperimentsScreen.parent
Methods in net.minecraft.client.gui.screens.worldselection that return ScreenModifier and TypeMethodDescriptionPresetEditor.createEditScreen
(CreateWorldScreen lastScreen, WorldCreationContext context) Methods in net.minecraft.client.gui.screens.worldselection with parameters of type ScreenModifier and TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String levelName, LevelSettings levelSettings, WorldOptions worldOptions, Function<RegistryAccess, WorldDimensions> dimensionGetter, Screen lastScreen) static CreateWorldScreen
CreateWorldScreen.createFromExisting
(Minecraft minecraft, Screen lastScreen, LevelSettings levelSettings, WorldCreationContext settings, Path tempDataPackDir) static void
Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ScreenModifierConstructorDescriptionprivate
CreateWorldScreen
(Minecraft minecraft, Screen lastScreen, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed) ExperimentsScreen
(Screen parent, PackRepository packRepository, Consumer<PackRepository> output) SelectWorldScreen
(Screen lastScreen) -
Uses of Screen in net.minecraft.client.multiplayer
Subclasses of Screen in net.minecraft.client.multiplayerModifier and TypeClassDescription(package private) class
Fields in net.minecraft.client.multiplayer declared as ScreenModifier 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.Methods in net.minecraft.client.multiplayer that return ScreenModifier and TypeMethodDescriptionprivate Screen
ClientCommonPacketListenerImpl.addOrUpdatePackPrompt
(UUID id, URL url, String hash, boolean required, Component prompt) protected Screen
ClientCommonPacketListenerImpl.createDisconnectScreen
(DisconnectionDetails details) protected Screen
ClientConfigurationPacketListenerImpl.createDisconnectScreen
(DisconnectionDetails p_350769_) CommonListenerCookie.postDisconnectScreen()
Returns the value of thepostDisconnectScreen
record component.Constructors in net.minecraft.client.multiplayer with parameters of type ScreenModifierConstructorDescriptionClientHandshakePacketListenerImpl
(Connection connection, Minecraft minecraft, ServerData serverData, Screen parent, boolean newWorld, Duration worldLoadDuration, Consumer<Component> updateStatus, TransferState cookies) 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 minecraft, Screen parentScreen, List<ClientCommonPacketListenerImpl.PackConfirmScreen.PendingRequest> requests, boolean required, Component prompt) -
Uses of Screen in net.minecraft.client.multiplayer.chat.report
Methods in net.minecraft.client.multiplayer.chat.report that return ScreenModifier and TypeMethodDescriptionChatReport.createScreen
(Screen lastScreen, ReportingContext reportingContext) NameReport.createScreen
(Screen lastScreen, ReportingContext reportingContext) abstract Screen
Report.createScreen
(Screen lastScreen, ReportingContext reportingContext) SkinReport.createScreen
(Screen lastScreen, ReportingContext reportingContext) Methods in net.minecraft.client.multiplayer.chat.report with parameters of type ScreenModifier and TypeMethodDescriptionChatReport.createScreen
(Screen lastScreen, ReportingContext reportingContext) NameReport.createScreen
(Screen lastScreen, ReportingContext reportingContext) abstract Screen
Report.createScreen
(Screen lastScreen, ReportingContext reportingContext) SkinReport.createScreen
(Screen lastScreen, ReportingContext reportingContext) void
ReportingContext.draftReportHandled
(Minecraft minecraft, Screen screen, Runnable quitter, boolean quitToTitle) -
Uses of Screen in net.minecraft.realms
Subclasses of Screen in net.minecraft.realmsFields in net.minecraft.realms declared as ScreenModifier and TypeFieldDescription(package private) final Screen
RealmsConnect.onlineScreen
private final Screen
DisconnectedRealmsScreen.parent
Constructors in net.minecraft.realms with parameters of type ScreenModifierConstructorDescriptionDisconnectedRealmsScreen
(Screen parent, Component title, Component reason) RealmsConnect
(Screen onlineScreen) -
Uses of Screen in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client with type parameters of type ScreenMethods in net.neoforged.neoforge.client with parameters of type ScreenModifier 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
Fields in net.neoforged.neoforge.client.event declared as ScreenModifier and TypeFieldDescriptionprivate final @Nullable Screen
ScreenEvent.Opening.currentScreen
private Screen
ScreenEvent.Opening.newScreen
private final Screen
ScreenEvent.screen
Methods in net.neoforged.neoforge.client.event with type parameters of type ScreenModifier and TypeMethodDescription<M extends AbstractContainerMenu,
U extends Screen & MenuAccess<M>>
voidRegisterMenuScreensEvent.register
(MenuType<? extends M> menuType, MenuScreens.ScreenConstructor<M, U> screenConstructor) Methods in net.neoforged.neoforge.client.event that return ScreenModifier 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.Methods in net.neoforged.neoforge.client.event with parameters of type ScreenModifier and TypeMethodDescriptionvoid
ScreenEvent.Opening.setNewScreen
(Screen newScreen) Sets the new screen to be opened if the event is not cancelled.Constructors in net.neoforged.neoforge.client.event with parameters of type ScreenModifierConstructorDescriptionBackgroundRendered
(Screen screen, GuiGraphics guiGraphics) Deprecated, for removal: This API element is subject to removal in a future version.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
Methods in net.neoforged.neoforge.client.extensions with parameters of type ScreenModifier and TypeMethodDescriptiondefault void
IMinecraftExtension.pushGuiLayer
(Screen screen) Pushes a screen as a new GUI layer. -
Uses of Screen in net.neoforged.neoforge.client.gui
Subclasses of Screen in net.neoforged.neoforge.client.guiModifier and TypeClassDescriptionfinal class
A generic configuration UI.static class
A UI screen that presents a list-type configuration value and allows the user to edit it, including an unlimited undo system and reset to default.static class
A UI screen that presents a single section of configuration values and allows the user to edit them, including an unlimited undo system and reset to default.private static final class
class
class
class
class
Fields in net.neoforged.neoforge.client.gui declared as ScreenModifier and TypeFieldDescriptionprivate final Screen
ConfigurationScreen.ConfigurationSectionScreen.Context.parent
The field for theparent
record component.private final Screen
ModMismatchDisconnectedScreen.parent
private Screen
ModListScreen.parentScreen
Fields in net.neoforged.neoforge.client.gui with type parameters of type ScreenModifier and TypeFieldDescriptionprivate final PropertyDispatch.QuadFunction
<ConfigurationScreen, net.neoforged.fml.config.ModConfig.Type, net.neoforged.fml.config.ModConfig, Component, Screen> ConfigurationScreen.sectionScreen
Methods in net.neoforged.neoforge.client.gui that return ScreenModifier and TypeMethodDescriptionIConfigScreenFactory.createScreen
(net.neoforged.fml.ModContainer container, Screen modListScreen) Creates a new config screen.ConfigurationScreen.ConfigurationSectionScreen.Context.parent()
Returns the value of theparent
record component.Methods in net.neoforged.neoforge.client.gui with parameters of type ScreenModifier and TypeMethodDescriptionIConfigScreenFactory.createScreen
(net.neoforged.fml.ModContainer container, Screen modListScreen) Creates a new config screen.ConfigurationScreen.ConfigurationSectionScreen.Context.list
(ConfigurationScreen.ConfigurationSectionScreen.Context parentContext, Screen parent) ConfigurationScreen.ConfigurationSectionScreen.Context.section
(ConfigurationScreen.ConfigurationSectionScreen.Context parentContext, Screen parent, Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entries, Map<String, Object> valueSpecs, String key) ConfigurationScreen.ConfigurationSectionScreen.Context.top
(String modId, Screen parent, net.neoforged.fml.config.ModConfig modConfig, ConfigurationScreen.ConfigurationSectionScreen.Filter filter) Constructors in net.neoforged.neoforge.client.gui with parameters of type ScreenModifierConstructorDescriptionConfigurationScreen
(net.neoforged.fml.ModContainer mod, Screen parent) ConfigurationScreen
(net.neoforged.fml.ModContainer mod, Screen parent, PropertyDispatch.QuadFunction<ConfigurationScreen, net.neoforged.fml.config.ModConfig.Type, net.neoforged.fml.config.ModConfig, Component, Screen> sectionScreen) ConfigurationScreen
(net.neoforged.fml.ModContainer mod, Screen parent, ConfigurationScreen.ConfigurationSectionScreen.Filter filter) ConfigurationSectionScreen
(Screen parent, net.neoforged.fml.config.ModConfig.Type type, net.neoforged.fml.config.ModConfig modConfig, Component title) Constructs a new section screen for the top-most section in aModConfig
.ConfigurationSectionScreen
(Screen parent, net.neoforged.fml.config.ModConfig.Type type, net.neoforged.fml.config.ModConfig modConfig, Component title, ConfigurationScreen.ConfigurationSectionScreen.Filter filter) Constructs a new section screen for the top-most section in aModConfig
.ConfigurationSectionScreen
(ConfigurationScreen.ConfigurationSectionScreen.Context parentContext, Screen parent, Map<String, Object> valueSpecs, String key, Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entrySet, Component title) Constructs a new section screen for a sub-section of a config.Context
(String modId, Screen parent, net.neoforged.fml.config.ModConfig modConfig, ModConfigSpec modSpec, Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entries, Map<String, Object> valueSpecs, List<String> keylist, ConfigurationScreen.ConfigurationSectionScreen.Filter filter) Creates an instance of aContext
record class.ModListScreen
(Screen parentScreen) ModMismatchDisconnectedScreen
(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) ScrollableExperimentsScreen
(Screen parent, PackRepository packRepository, Consumer<PackRepository> output) Constructor parameters in net.neoforged.neoforge.client.gui with type arguments of type ScreenModifierConstructorDescriptionConfigurationScreen
(net.neoforged.fml.ModContainer mod, Screen parent, PropertyDispatch.QuadFunction<ConfigurationScreen, net.neoforged.fml.config.ModConfig.Type, net.neoforged.fml.config.ModConfig, Component, Screen> sectionScreen)
RegisterMenuScreensEvent
instead