Uses of Enum Class
net.minecraft.client.gui.screens.worldselection.WorldCreationUiState.SelectedGameMode
Packages that use WorldCreationUiState.SelectedGameMode
-
Uses of WorldCreationUiState.SelectedGameMode in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as WorldCreationUiState.SelectedGameModeModifier and TypeFieldDescriptionWorldCreationUiState.gameModeprivate final WorldCreationUiState.SelectedGameModeInitialWorldCreationOptions.selectedGameModeThe field for theselectedGameModerecord component.Methods in net.minecraft.client.gui.screens.worldselection that return WorldCreationUiState.SelectedGameModeModifier and TypeMethodDescriptionWorldCreationUiState.getGameMode()InitialWorldCreationOptions.selectedGameMode()Returns the value of theselectedGameModerecord component.Returns the enum constant of this class with the specified name.WorldCreationUiState.SelectedGameMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type WorldCreationUiState.SelectedGameModeModifier and TypeMethodDescriptionvoidWorldCreationUiState.setGameMode(WorldCreationUiState.SelectedGameMode pGameMode) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type WorldCreationUiState.SelectedGameModeModifierConstructorDescriptionInitialWorldCreationOptions(WorldCreationUiState.SelectedGameMode selectedGameMode, Set<GameRules.Key<GameRules.BooleanValue>> disabledGameRules, ResourceKey<FlatLevelGeneratorPreset> flatLevelPreset) Creates an instance of aInitialWorldCreationOptionsrecord class.