Class WorldPreset
java.lang.Object
net.minecraft.client.gui.screens.worldselection.WorldPreset
- Direct Known Subclasses:
ForgeWorldPresetScreens.GeneratorPreset
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WorldPreset
private static final WorldPreset
private final Component
protected static final Map<Optional<WorldPreset>,
WorldPreset.PresetEditor> private static final WorldPreset
static final WorldPreset
static final WorldPreset
protected static final List<WorldPreset>
private static final WorldPreset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(RegistryAccess p_205486_, long p_205487_, boolean p_205488_, boolean p_205489_) (package private) static NoiseBasedChunkGenerator
fixedBiomeGenerator
(RegistryAccess p_194086_, long p_194087_, ResourceKey<NoiseGeneratorSettings> p_194088_) private static WorldGenSettings
fromBuffetSettings
(RegistryAccess p_205494_, WorldGenSettings p_205495_, Holder<Biome> p_205496_) protected abstract ChunkGenerator
generator
(RegistryAccess p_194083_, long p_194084_) static boolean
isVisibleByDefault
(WorldPreset p_170302_) static Optional<WorldPreset>
of
(WorldGenSettings p_101525_) parseBuffetSettings
(RegistryAccess p_205491_, WorldGenSettings p_205492_) static void
-
Field Details
-
NORMAL
-
FLAT
-
LARGE_BIOMES
-
AMPLIFIED
-
SINGLE_BIOME_SURFACE
-
DEBUG
-
PRESETS
-
EDITORS
-
description
-
-
Constructor Details
-
WorldPreset
WorldPreset(String p_101519_) -
WorldPreset
-
-
Method Details
-
fixedBiomeGenerator
static NoiseBasedChunkGenerator fixedBiomeGenerator(RegistryAccess p_194086_, long p_194087_, ResourceKey<NoiseGeneratorSettings> p_194088_) -
fromBuffetSettings
private static WorldGenSettings fromBuffetSettings(RegistryAccess p_205494_, WorldGenSettings p_205495_, Holder<Biome> p_205496_) -
parseBuffetSettings
private static Holder<Biome> parseBuffetSettings(RegistryAccess p_205491_, WorldGenSettings p_205492_) -
of
-
description
-
create
public WorldGenSettings create(RegistryAccess p_205486_, long p_205487_, boolean p_205488_, boolean p_205489_) -
generator
-
isVisibleByDefault
-
registerGenerator
-