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 disconnectionScreen) void
MinecraftClient.enterReconfiguration
(Screen reconfigurationScreen) private void
void
Sets the current screen to a new screen.void
MinecraftClient.setScreenAndRender
(Screen screen) Modifier and TypeMethodDescriptionprivate void
MinecraftClient.createInitScreens
(List<Function<Runnable, Screen>> list) -
Uses of Screen in net.minecraft.client.gui.screen
Modifier and TypeClassDescriptionclass
class
A screen that allows player to input a chat message.class
class
class
class
static 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 TypeFieldDescriptionprivate final Screen
PopupScreen.backgroundScreen
private final Screen
PopupScreen.Builder.backgroundScreen
private final Screen
ChatInputSuggestor.owner
private final Screen
DisconnectedScreen.parent
private final Screen
OpenToLanScreen.parent
private final Screen
Realms32BitWarningScreen.parent
protected final Screen
StatsScreen.parent
Modifier and TypeMethodDescriptionstatic 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) ModifierConstructorDescriptionChatInputSuggestor
(MinecraftClient client, Screen owner, TextFieldWidget textField, TextRenderer textRenderer, boolean slashOptional, boolean suggestingWhenEmpty, int inWindowIndexOffset, int maxSuggestionSize, boolean chatScreenSized, int color) DisconnectedScreen
(Screen parent, Text title, Text reason) DisconnectedScreen
(Screen parent, Text title, Text reason, Text buttonLabel) OpenToLanScreen
(Screen screen) (package private)
PopupScreen
(Screen backgroundScreen, int width, @Nullable Identifier image, Text title, Text message, List<PopupScreen.Button> buttons, @Nullable Runnable onClosed) 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
class
ForgingScreen<T extends ForgingScreenHandler>
class
class
class
class
class
HandledScreen<T extends ScreenHandler>
class
class
class
class
class
class
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
The connection screen is used to initiate a connection to a remote server.class
class
class
class
Modifier and TypeFieldDescriptionprivate final Screen
AddServerScreen.parent
(package private) final Screen
ConnectScreen.parent
private final Screen
DirectConnectScreen.parent
private final Screen
MultiplayerScreen.parent
private final Screen
MultiplayerWarningScreen.parent
Modifier and TypeMethodDescriptionstatic void
ConnectScreen.connect
(Screen screen, MinecraftClient client, ServerAddress address, ServerInfo info, boolean quickPlay) ModifierConstructorDescriptionAddServerScreen
(Screen parent, BooleanConsumer callback, ServerInfo server) private
ConnectScreen
(Screen parent, Text failureErrorMessage) DirectConnectScreen
(Screen parent, BooleanConsumer callback, ServerInfo server) MultiplayerScreen
(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.report
Modifier and TypeClassDescriptionclass
class
class
class
class
ReportScreen<B extends AbuseReport.Builder<?>>
private class
class
class
Modifier and TypeFieldDescriptionAbuseReportReasonScreen.parent
private final Screen
AbuseReportTypeScreen.parent
ChatSelectionScreen.parent
protected final Screen
ReportScreen.parent
ModifierConstructorDescriptionAbuseReportReasonScreen
(@Nullable Screen parent, @Nullable AbuseReportReason reason, Consumer<AbuseReportReason> reasonConsumer) AbuseReportTypeScreen
(Screen parent, AbuseReportContext context, SocialInteractionsPlayerListEntry selectedPlayer) ChatReportScreen
(Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) ChatReportScreen
(Screen parent, AbuseReportContext context, ChatAbuseReport report) private
ChatReportScreen
(Screen parent, AbuseReportContext context, ChatAbuseReport.Builder reportBuilder) ChatSelectionScreen
(@Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport.Builder report, Consumer<ChatAbuseReport.Builder> newReportConsumer) protected
ReportScreen
(Text title, Screen parent, AbuseReportContext context, B reportBuilder) SkinReportScreen
(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, Supplier<SkinTextures> skinSupplier) SkinReportScreen
(Screen parent, AbuseReportContext context, SkinAbuseReport report) private
SkinReportScreen
(Screen parent, AbuseReportContext context, SkinAbuseReport.Builder reportBuilder) UsernameReportScreen
(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, String username) UsernameReportScreen
(Screen parent, AbuseReportContext context, UsernameAbuseReport report) private
UsernameReportScreen
(Screen parent, AbuseReportContext context, UsernameAbuseReport.Builder reportBuilder) -
Uses of Screen in net.minecraft.client.gui.screen.world
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionCreateWorldScreen.parent
private final Screen
CustomizeBuffetLevelScreen.parent
private final Screen
ExperimentsScreen.parent
protected final Screen
SelectWorldScreen.parent
Modifier and TypeMethodDescriptionLevelScreenProvider.createEditScreen
(CreateWorldScreen parent, GeneratorOptionsHolder generatorOptionsHolder) static Screen
static Screen
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) CustomizeBuffetLevelScreen
(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) ExperimentsScreen
(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) SelectWorldScreen
(Screen parent) -
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 TypeClassDescriptionprivate class
Modifier and TypeFieldDescriptionClientCommonNetworkHandler.ConfirmServerResourcePackScreen.parent
ClientLoginNetworkHandler.parentScreen
ClientCommonNetworkHandler.postDisconnectScreen
ClientConnectionState.postDisconnectScreen
The field for thepostDisconnectScreen
record component.Modifier and TypeMethodDescriptionprivate Screen
ClientCommonNetworkHandler.createConfirmServerResourcePackScreen
(UUID id, URL url, String hash, boolean required, @Nullable Text prompt) protected Screen
ClientCommonNetworkHandler.createDisconnectedScreen
(Text reason) ClientConnectionState.postDisconnectScreen()
Returns the value of thepostDisconnectScreen
record component.ModifierConstructorDescriptionClientConnectionState
(com.mojang.authlib.GameProfile gameProfile, WorldSession worldSession, DynamicRegistryManager.Immutable immutable, FeatureSet featureSet, @Nullable String string, @Nullable ServerInfo serverInfo, @Nullable Screen screen) ClientLoginNetworkHandler
(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer) (package private)
ConfirmServerResourcePackScreen
(MinecraftClient client, @Nullable Screen parent, List<ClientCommonNetworkHandler.ConfirmServerResourcePackScreen.Pack> pack, boolean required, @Nullable Text prompt) -
Uses of Screen in net.minecraft.client.realms
-
Uses of Screen in net.minecraft.client.realms.dto
Modifier and TypeMethodDescriptionRealmsNotification.VisitUrl.createButton
(Screen currentScreen) RealmsNotification.InfoPopup.createScreen
(Screen backgroundScreen, Consumer<UUID> dismissCallback) -
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
class
class
Modifier and TypeFieldDescription(package private) final Screen
RealmsSubscriptionInfoScreen.mainScreen
private final Screen
BuyRealmsScreen.parent
private final Screen
DisconnectedRealmsScreen.parent
private final Screen
RealmsBackupInfoScreen.parent
private final Screen
RealmsBrokenWorldScreen.parent
private final Screen
RealmsClientIncompatibleScreen.parent
private final Screen
RealmsCreateWorldScreen.parent
private final Screen
RealmsDownloadLatestWorldScreen.parent
private final Screen
RealmsGenericErrorScreen.parent
private final Screen
RealmsInviteScreen.parent
private final Screen
RealmsLongRunningMcoTaskScreen.parent
private final Screen
RealmsMainScreen.parent
private final Screen
RealmsParentalConsentScreen.parent
private final Screen
RealmsPendingInvitesScreen.parent
private final Screen
RealmsSubscriptionInfoScreen.parent
private final Screen
RealmsTermsScreen.parent
Modifier and TypeMethodDescriptionvoid
RealmsConfigureWorldScreen.closeTheWorld
(Screen screen) static RealmsCreateWorldScreen
RealmsCreateWorldScreen.newRealm
(Screen parent, RealmsServer serverData, WorldCreationTask creationTask, Runnable callback) static RealmsCreateWorldScreen
RealmsCreateWorldScreen.newWorld
(Screen parent, int slot, RealmsServer serverData, Runnable callback) void
RealmsConfigureWorldScreen.openTheWorld
(boolean join, Screen screen) static void
RealmsMainScreen.play
(@Nullable RealmsServer serverData, Screen parent) static void
RealmsMainScreen.play
(@Nullable RealmsServer serverData, Screen parent, boolean needsPreparation) static RealmsCreateWorldScreen
RealmsCreateWorldScreen.resetWorld
(Screen parent, RealmsServer serverData, Runnable callback) private static void
RealmsMainScreen.showCompatibilityScreen
(RealmsServer serverData, Screen parent, Text title, Text description, Text confirmText) ModifierConstructorDescriptionBuyRealmsScreen
(Screen parent, boolean trialAvailable) DisconnectedRealmsScreen
(Screen parent, Text title, Text reason) RealmsBackupInfoScreen
(Screen parent, Backup backup) RealmsBrokenWorldScreen
(Screen parent, long serverId, boolean minigame) RealmsClientIncompatibleScreen
(Screen parent) private
RealmsCreateWorldScreen
(Screen parent, RealmsServer serverData, int slot, Text title, Text subtitle, int subtitleColor, Text taskTitle, Runnable callback) RealmsCreateWorldScreen
(Screen parent, RealmsServer serverData, int slot, Text title, Text subtitle, int subtitleColor, Text taskTitle, @Nullable WorldCreationTask creationTask, Runnable callback) 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[] tasks) RealmsLongRunningTickableTaskScreen
(Screen screen, LongRunningTask longRunningTask) RealmsMainScreen
(Screen parent) RealmsParentalConsentScreen
(Screen parent) RealmsPendingInvitesScreen
(Screen parent, Text title) RealmsSubscriptionInfoScreen
(Screen parent, RealmsServer serverData, Screen mainScreen) RealmsTermsScreen
(Screen parent, RealmsServer realmsServer) -
Uses of Screen in net.minecraft.client.realms.task
Modifier and TypeFieldDescriptionprivate final Screen
DownloadTask.lastScreen
private final Screen
RealmsPrepareConnectionTask.lastScreen
private final Screen
OpenServerTask.returnScreen
Modifier and TypeMethodDescriptionstatic void
Moved from Realms in 20w10a.Modifier and TypeMethodDescriptionprivate RealmsLongConfirmationScreen
RealmsPrepareConnectionTask.createResourcePackConfirmationScreen
(RealmsServerAddress address, UUID id, Function<RealmsServerAddress, Screen> connectingScreenCreator) ModifierConstructorDescriptionDownloadTask
(long worldId, int slot, String downloadName, Screen lastScreen) OpenServerTask
(RealmsServer realmsServer, Screen returnScreen, boolean join, MinecraftClient client) RealmsConnectTask
(Screen lastScreen, RealmsServer server, RealmsServerAddress address) RealmsPrepareConnectionTask
(Screen lastScreen, RealmsServer server) -
Uses of Screen in net.minecraft.client.realms.util
Modifier and TypeMethodDescriptionvoid
Realms32BitWarningChecker.showWarningIfNeeded
(Screen parent) -
Uses of Screen in net.minecraft.client.session.report
Modifier and TypeMethodDescriptionabstract Screen
AbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) ChatAbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) SkinAbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) UsernameAbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) Modifier and TypeMethodDescriptionabstract Screen
AbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) ChatAbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) SkinAbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) UsernameAbuseReport.createReportScreen
(Screen parent, AbuseReportContext context) void
AbuseReportContext.tryShowDraftScreen
(MinecraftClient client, Screen parent, Runnable callback, boolean quit) -
Uses of Screen in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionvoid
IntegratedServerLoader.createAndStart
(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier, Screen screen)