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.gameMode
private final WorldCreationUiState.SelectedGameMode
InitialWorldCreationOptions.selectedGameMode
The field for theselectedGameMode
record component.Methods in net.minecraft.client.gui.screens.worldselection that return WorldCreationUiState.SelectedGameModeModifier and TypeMethodDescriptionWorldCreationUiState.getGameMode()
InitialWorldCreationOptions.selectedGameMode()
Returns the value of theselectedGameMode
record 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 TypeMethodDescriptionvoid
WorldCreationUiState.setGameMode
(WorldCreationUiState.SelectedGameMode p_268231_) 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 aInitialWorldCreationOptions
record class.