Uses of Class
net.minecraft.client.gui.screen.Screen
Package
Description
-
Uses of Screen in net.minecraft.client
Modifier and TypeFieldDescriptionMinecraftClient.currentScreen
The Minecraft client's currently open screen.Modifier and TypeMethodDescriptionvoid
MinecraftClient.disconnect
(Screen screen) private void
void
Sets the current screen to a new screen.void
MinecraftClient.setScreenAndRender
(Screen screen) -
Uses of Screen in net.minecraft.client.gui.screen
Modifier and TypeClassDescriptionclass
class
class
class
A screen that allows player to input a chat message.class
class
class
The connection screen is used to initiate a connection to a remote server.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
A screen that is used for indicating that a task is running or has finished running (either successfully or unsuccessfully).class
class
Modifier and TypeFieldDescription(package private) final Screen
ChatInputSuggestor.owner
private final Screen
AddServerScreen.parent
private final Screen
BackupPromptScreen.parent
(package private) final Screen
ConnectScreen.parent
private final Screen
CustomizeBuffetLevelScreen.parent
private final Screen
DirectConnectScreen.parent
private final Screen
DisconnectedScreen.parent
private final Screen
OpenToLanScreen.parent
private final Screen
Realms32BitWarningScreen.parent
protected final Screen
StatsScreen.parent
Modifier and TypeMethodDescriptionstatic void
ConnectScreen.connect
(Screen screen, MinecraftClient client, ServerAddress address, ServerInfo info) static void
Opens the confirmation screen to openurl
.static ButtonWidget.PressAction
Returns the button press action that opens the confirmation screen to openurl
.private void
Modifier and TypeMethodDescriptionprivate ButtonWidget
GameMenuScreen.createButton
(Text text, Supplier<Screen> screenSupplier) ModifierConstructorDescriptionAddServerScreen
(Screen parent, BooleanConsumer callback, ServerInfo server) BackupPromptScreen
(Screen parent, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckBox) ChatInputSuggestor
(MinecraftClient client, Screen owner, TextFieldWidget textField, TextRenderer textRenderer, boolean slashOptional, boolean suggestingWhenEmpty, int inWindowIndexOffset, int maxSuggestionSize, boolean chatScreenSized, int color) private
ConnectScreen
(Screen parent) CustomizeBuffetLevelScreen
(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) DirectConnectScreen
(Screen parent, BooleanConsumer callback, ServerInfo server) DisconnectedScreen
(Screen parent, Text title, Text reason) OpenToLanScreen
(Screen screen) Realms32BitWarningScreen
(Screen parent) StatsScreen
(Screen parent, StatHandler statHandler) -
Uses of Screen in net.minecraft.client.gui.screen.advancement
-
Uses of Screen in net.minecraft.client.gui.screen.ingame
Modifier and TypeInterfaceDescriptionprivate static interface
HandledScreens.Provider<T extends ScreenHandler,
U extends Screen & ScreenHandlerProvider<T>> Modifier and TypeClassDescriptionclass
class
class
AbstractInventoryScreen<T extends ScreenHandler>
class
class
class
class
class
class
class
class
class
class
class
class
class
ForgingScreen<T extends ForgingScreenHandler>
class
class
class
class
class
HandledScreen<T extends ScreenHandler>
class
class
class
class
class
class
class
Deprecated, for removal: This API element is subject to removal in a future version.class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprivate static <M extends ScreenHandler,
U extends Screen & ScreenHandlerProvider<M>>
voidHandledScreens.register
(ScreenHandlerType<? extends M> type, HandledScreens.Provider<M, U> provider) -
Uses of Screen in net.minecraft.client.gui.screen.multiplayer
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionprivate final Screen
MultiplayerScreen.parent
private final Screen
MultiplayerWarningScreen.parent
ModifierConstructorDescriptionMultiplayerScreen
(Screen parent) MultiplayerWarningScreen
(Screen parent) -
Uses of Screen in net.minecraft.client.gui.screen.option
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
CreditsAndAttributionScreen.parent
protected final Screen
GameOptionsScreen.parent
private final Screen
OptionsScreen.parent
private final Screen
TelemetryInfoScreen.parent
Modifier and TypeMethodDescriptionstatic OnlineOptionsScreen
OnlineOptionsScreen.create
(MinecraftClient client, Screen parent, GameOptions gameOptions) Modifier and TypeMethodDescriptionprivate ButtonWidget
OptionsScreen.createButton
(Text message, Supplier<Screen> screenSupplier) ModifierConstructorDescriptionAccessibilityOptionsScreen
(Screen parent, GameOptions gameOptions) ChatOptionsScreen
(Screen parent, GameOptions options) ControlsOptionsScreen
(Screen parent, GameOptions options) CreditsAndAttributionScreen
(Screen parent) GameOptionsScreen
(Screen parent, GameOptions gameOptions, Text title) KeybindsScreen
(Screen parent, GameOptions gameOptions) LanguageOptionsScreen
(Screen parent, GameOptions options, LanguageManager languageManager) MouseOptionsScreen
(Screen parent, GameOptions gameOptions) private
OnlineOptionsScreen
(Screen parent, GameOptions gameOptions, SimpleOption<?>[] options, @Nullable SimpleOption<com.mojang.datafixers.util.Unit> difficulty) OptionsScreen
(Screen parent, GameOptions gameOptions) SimpleOptionsScreen
(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options) SkinOptionsScreen
(Screen parent, GameOptions gameOptions) SoundOptionsScreen
(Screen parent, GameOptions options) TelemetryInfoScreen
(Screen parent, GameOptions options) VideoOptionsScreen
(Screen parent, GameOptions options) -
Uses of Screen in net.minecraft.client.gui.screen.pack
Modifier and TypeClassDescriptionclass
private class
class
-
Uses of Screen in net.minecraft.client.gui.screen.recipebook
-
Uses of Screen in net.minecraft.client.gui.screen.report
Modifier and TypeClassDescriptionclass
class
private class
class
Modifier and TypeFieldDescriptionAbuseReportReasonScreen.parent
ChatReportScreen.parent
ChatSelectionScreen.parent
ModifierConstructorDescriptionAbuseReportReasonScreen
(@Nullable Screen parent, @Nullable AbuseReportReason reason, Consumer<AbuseReportReason> reasonConsumer) ChatReportScreen
(@Nullable Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) private
ChatReportScreen
(@Nullable Screen parent, AbuseReportContext context, ChatAbuseReport report) ChatReportScreen
(@Nullable Screen parent, AbuseReportContext context, ChatAbuseReport.Draft draft) ChatSelectionScreen
(@Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer) -
Uses of Screen in net.minecraft.client.gui.screen.world
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeFieldDescriptionCreateWorldScreen.parent
private final Screen
ExperimentsScreen.parent
protected final Screen
SelectWorldScreen.parent
Modifier and TypeMethodDescriptionLevelScreenProvider.createEditScreen
(CreateWorldScreen parent, GeneratorOptionsHolder generatorOptionsHolder) Modifier and TypeMethodDescriptionstatic void
CreateWorldScreen.create
(MinecraftClient client, @Nullable Screen parent) static CreateWorldScreen
CreateWorldScreen.create
(MinecraftClient client, @Nullable Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, @Nullable Path dataPackTempDir) ModifierConstructorDescriptionprivate
CreateWorldScreen
(MinecraftClient client, @Nullable Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed) protected
ExperimentsScreen
(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) SelectWorldScreen
(Screen parent) -
Uses of Screen in net.minecraft.client.gui.tooltip
Modifier and TypeMethodDescriptionFocusedTooltipPositioner.getPosition
(Screen screen, int x, int y, int width, int height) HoveredTooltipPositioner.getPosition
(Screen screen, int x, int y, int width, int height) TooltipPositioner.getPosition
(Screen screen, int x, int y, int width, int height) WidgetTooltipPositioner.getPosition
(Screen screen, int x, int y, int width, int height) private void
HoveredTooltipPositioner.preventOverflow
(Screen screen, Vector2i pos, int width, int height) -
Uses of Screen in net.minecraft.client.gui.widget
ModifierConstructorDescriptionThreePartsLayoutWidget
(Screen screen) ThreePartsLayoutWidget
(Screen screen, int headerFooterHeight) ThreePartsLayoutWidget
(Screen screen, int headerHeight, int footerHeight) -
Uses of Screen in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate final Screen
ClientPlayNetworkHandler.loginScreen
ClientLoginNetworkHandler.parentScreen
ModifierConstructorDescriptionClientLoginNetworkHandler
(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer) ClientPlayNetworkHandler
(MinecraftClient client, Screen screen, ClientConnection connection, @Nullable ServerInfo serverInfo, com.mojang.authlib.GameProfile profile, WorldSession worldSession) -
Uses of Screen in net.minecraft.client.realms
-
Uses of Screen in net.minecraft.client.realms.dto
-
Uses of Screen in net.minecraft.client.realms.gui.screen
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
class
Modifier and TypeFieldDescription(package private) final Screen
RealmsSubscriptionInfoScreen.mainScreen
private final Screen
DisconnectedRealmsScreen.parent
private final Screen
RealmsBackupInfoScreen.parent
private final Screen
RealmsBrokenWorldScreen.parent
private final Screen
RealmsClientOutdatedScreen.parent
private final Screen
RealmsDownloadLatestWorldScreen.parent
private final Screen
RealmsGenericErrorScreen.parent
private final Screen
RealmsInviteScreen.parent
private final Screen
RealmsLongRunningMcoTaskScreen.parent
(package private) final Screen
RealmsMainScreen.parent
private final Screen
RealmsParentalConsentScreen.parent
private final Screen
RealmsPendingInvitesScreen.parent
private final Screen
RealmsResetWorldScreen.parent
private final Screen
RealmsSubscriptionInfoScreen.parent
private final Screen
RealmsTermsScreen.parent
RealmsMainScreen.realmsGenericErrorScreen
Modifier and TypeMethodDescriptionvoid
RealmsConfigureWorldScreen.closeTheWorld
(Screen screen) void
RealmsConfigureWorldScreen.openTheWorld
(boolean join, Screen screen) void
RealmsMainScreen.play
(@Nullable RealmsServer serverData, Screen parent) ModifierConstructorDescriptionDisconnectedRealmsScreen
(Screen parent, Text title, Text reason) RealmsBackupInfoScreen
(Screen parent, Backup backup) RealmsBrokenWorldScreen
(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean minigame) RealmsClientOutdatedScreen
(Screen parent) RealmsDownloadLatestWorldScreen
(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer onBack) RealmsGenericErrorScreen
(RealmsServiceException realmsServiceException, Screen parent) RealmsGenericErrorScreen
(Text description, Screen parent) RealmsGenericErrorScreen
(Text title, Text description, Screen parent) RealmsInviteScreen
(RealmsConfigureWorldScreen configureScreen, Screen parent, RealmsServer serverData) RealmsLongRunningMcoTaskScreen
(Screen parent, LongRunningTask task) RealmsMainScreen
(Screen parent) RealmsParentalConsentScreen
(Screen parent) RealmsPendingInvitesScreen
(Screen parent) RealmsResetWorldScreen
(Screen parent, RealmsServer serverData, Runnable resetCallback, Runnable selectFileUploadCallback) RealmsResetWorldScreen
(Screen parent, RealmsServer server, Text title, Runnable resetCallback, Runnable selectFileUploadCallback) RealmsResetWorldScreen
(Screen parent, RealmsServer server, Text title, Text subtitle, int subtitleColor, Text buttonTitle, Runnable resetCallback, Runnable selectFileUploadCallback) RealmsSubscriptionInfoScreen
(Screen parent, RealmsServer serverData, Screen mainScreen) RealmsTermsScreen
(Screen parent, RealmsMainScreen mainScreen, RealmsServer realmsServer) -
Uses of Screen in net.minecraft.client.realms.task
Modifier and TypeFieldDescriptionprivate final Screen
DownloadTask.lastScreen
private final Screen
RealmsGetServerDetailsTask.lastScreen
private final Screen
WorldCreationTask.lastScreen
private final Screen
OpenServerTask.returnScreen
Modifier and TypeMethodDescriptionstatic void
Moved from Realms in 20w10a.Modifier and TypeMethodDescriptionprivate RealmsLongConfirmationScreen
RealmsGetServerDetailsTask.createResourcePackConfirmationScreen
(RealmsServerAddress address, Function<RealmsServerAddress, Screen> connectingScreenCreator) ModifierConstructorDescriptionDownloadTask
(long worldId, int slot, String downloadName, Screen lastScreen) OpenServerTask
(RealmsServer realmsServer, Screen returnScreen, RealmsMainScreen mainScreen, boolean join, MinecraftClient client) RealmsConnectTask
(Screen lastScreen, RealmsServer server, RealmsServerAddress address) RealmsGetServerDetailsTask
(RealmsMainScreen mainScreen, Screen lastScreen, RealmsServer server, ReentrantLock connectLock) WorldCreationTask
(long worldId, String name, String motd, Screen lastScreen) -
Uses of Screen in net.minecraft.client.realms.util
Modifier and TypeMethodDescriptionvoid
Realms32BitWarningChecker.showWarningIfNeeded
(Screen parent) -
Uses of Screen in net.minecraft.client.report
Modifier and TypeMethodDescriptionvoid
AbuseReportContext.tryShowDraftScreen
(MinecraftClient client, @Nullable Screen parent, Runnable callback, boolean quit) -
Uses of Screen in net.minecraft.server.integrated