InitialWorldCreationOptions .java

net.minecraft.client.gui.screens.worldselection.InitialWorldCreationOptions (record): members: selectedGameMode, gameRuleOverwrites, flatLevelPreset.

net.minecraft.client.gui.screens.worldselectionrecord15 linesclient575 B

API Surface (1)

record InitialWorldCreationOptions(WorldCreationUiState.SelectedGameMode selectedGameMode, GameRuleMap gameRuleOverwrites, @Nullable ResourceKey<FlatLevelGeneratorPreset> flatLevelPreset)

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

InitialWorldCreationOptions.java15 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.gui.screens.worldselection;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.resources.ResourceKey;
6
import net.minecraft.world.level.gamerules.GameRuleMap;
7
import net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorPreset;
8
import org.jspecify.annotations.Nullable;
9
10
@Environment(EnvType.CLIENT)
11
public record InitialWorldCreationOptions(
12
	WorldCreationUiState.SelectedGameMode selectedGameMode, GameRuleMap gameRuleOverwrites, @Nullable ResourceKey<FlatLevelGeneratorPreset> flatLevelPreset
13
) {
14
}
15

Decompiled Minecraft 26.3 source of InitialWorldCreationOptions (net/minecraft/client/gui/screens/worldselection/InitialWorldCreationOptions.java) with Mojang official mappings, stored verbatim on the site.