Class WorldPreset
java.lang.Object
net.minecraft.world.level.levelgen.presets.WorldPreset
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WorldPreset>>
private final Map<ResourceKey<LevelStem>,
LevelStem> static final com.mojang.serialization.Codec<WorldPreset>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateWorldGenSettings
(long p_226422_, boolean p_226423_, boolean p_226424_) recreateWorldGenSettings
(WorldGenSettings p_226428_) private static com.mojang.serialization.DataResult<WorldPreset>
requireOverworld
(WorldPreset p_238379_)
-
Field Details
-
DIRECT_CODEC
-
CODEC
-
dimensions
-
-
Constructor Details
-
WorldPreset
-
-
Method Details
-
createRegistry
-
createWorldGenSettings
public WorldGenSettings createWorldGenSettings(long p_226422_, boolean p_226423_, boolean p_226424_) -
recreateWorldGenSettings
-
overworld
-
overworldOrThrow
-
requireOverworld
private static com.mojang.serialization.DataResult<WorldPreset> requireOverworld(WorldPreset p_238379_)
-