Class WorldPreset
java.lang.Object
net.minecraft.client.gui.screens.worldselection.WorldPreset
- Direct Known Subclasses:
ForgeWorldTypeScreens.GeneratorType
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic WorldPreset
private static WorldPreset
private Component
protected static Map<Optional<WorldPreset>,WorldPreset.PresetEditor>
private static WorldPreset
private static WorldPreset
static WorldPreset
protected static List<WorldPreset>
private static WorldPreset
private static WorldPreset
private static WorldPreset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate(RegistryAccess.RegistryHolder p_101542_, long p_101543_, boolean p_101544_, boolean p_101545_)
private static WorldGenSettings
fromBuffetSettings(RegistryAccess p_101550_, WorldGenSettings p_101551_, WorldPreset p_101552_, Biome p_101553_)
protected abstract ChunkGenerator
generator(Registry<Biome> p_101539_, Registry<NoiseGeneratorSettings> p_101540_, long p_101541_)
static boolean
isVisibleByDefault(WorldPreset p_170302_)
static Optional<WorldPreset>
of(WorldGenSettings p_101525_)
private static Biome
parseBuffetSettings(RegistryAccess p_101547_, WorldGenSettings p_101548_)
static void
registerGenerator(WorldPreset gen)
-
Field Details
-
NORMAL
-
FLAT
-
LARGE_BIOMES
-
AMPLIFIED
-
SINGLE_BIOME_SURFACE
-
SINGLE_BIOME_CAVES
-
SINGLE_BIOME_FLOATING_ISLANDS
-
DEBUG
-
PRESETS
-
EDITORS
-
description
-
-
Constructor Details
-
WorldPreset
WorldPreset(String p_101519_) -
WorldPreset
-
-
Method Details
-
fromBuffetSettings
private static WorldGenSettings fromBuffetSettings(RegistryAccess p_101550_, WorldGenSettings p_101551_, WorldPreset p_101552_, Biome p_101553_) -
parseBuffetSettings
-
of
-
description
-
create
public WorldGenSettings create(RegistryAccess.RegistryHolder p_101542_, long p_101543_, boolean p_101544_, boolean p_101545_) -
generator
protected abstract ChunkGenerator generator(Registry<Biome> p_101539_, Registry<NoiseGeneratorSettings> p_101540_, long p_101541_) -
isVisibleByDefault
-
registerGenerator
-