Uses of Class
net.minecraft.world.gen.WorldPreset
Package
Description
-
Uses of WorldPreset in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate final @Nullable RegistryEntry
<WorldPreset> WorldCreator.WorldType.preset
The field for thepreset
record component.static final Map
<Optional<RegistryKey<WorldPreset>>, LevelScreenProvider> LevelScreenProvider.WORLD_PRESET_TO_SCREEN_PROVIDER
Modifier and TypeMethodDescriptionprivate static Optional
<RegistryEntry<WorldPreset>> WorldCreator.getWorldPreset
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) WorldCreator.WorldType.preset()
Returns the value of thepreset
record component.Modifier and TypeMethodDescriptionprivate static Optional
<RegistryEntry<WorldPreset>> WorldCreator.getWorldPreset
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) private static Optional
<List<WorldCreator.WorldType>> WorldCreator.getWorldPresetList
(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) private static Optional
<List<WorldCreator.WorldType>> WorldCreator.getWorldPresetList
(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) private static void
CreateWorldScreen.show
(MinecraftClient client, @Nullable Screen parent, Function<SaveLoading.LoadContextSupplierContext, WorldGenSettings> settingsSupplier, GeneratorOptionsFactory generatorOptionsFactory, RegistryKey<WorldPreset> presetKey, CreateWorldCallback callback) ModifierConstructorDescriptionprivate
CreateWorldScreen
(MinecraftClient client, @Nullable Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed, CreateWorldCallback callback) WorldCreator
(Path savesDirectory, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed) WorldType
(@Nullable RegistryEntry<WorldPreset> registryEntry) -
Uses of WorldPreset in net.minecraft.client.realms.gui.screen
ModifierConstructorDescriptionprivate
RealmsWorldGeneratorType
(int id, RegistryKey<WorldPreset> presetKey) -
Uses of WorldPreset in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<WorldPreset>> RegistryKeys.WORLD_PRESET
-
Uses of WorldPreset in net.minecraft.registry.tag
Modifier and TypeFieldDescriptionstatic final TagKey
<WorldPreset> WorldPresetTags.EXTENDED
static final TagKey
<WorldPreset> WorldPresetTags.NORMAL
-
Uses of WorldPreset in net.minecraft.server.dedicated
Modifier and TypeFieldDescriptionprivate static final Map
<String, RegistryKey<WorldPreset>> ServerPropertiesHandler.WorldGenProperties.LEVEL_TYPE_TO_PRESET_KEY
-
Uses of WorldPreset in net.minecraft.world.gen
Modifier and TypeFieldDescriptionstatic final RegistryKey
<WorldPreset> WorldPresets.AMPLIFIED
static final com.mojang.serialization.Codec
<WorldPreset> WorldPreset.CODEC
static final RegistryKey
<WorldPreset> WorldPresets.DEBUG_ALL_BLOCK_STATES
static final RegistryKey
<WorldPreset> WorldPresets.DEFAULT
static final com.mojang.serialization.Codec
<RegistryEntry<WorldPreset>> WorldPreset.ENTRY_CODEC
static final RegistryKey
<WorldPreset> WorldPresets.FLAT
static final RegistryKey
<WorldPreset> WorldPresets.LARGE_BIOMES
private final Registerable
<WorldPreset> WorldPresets.Registrar.presetRegisterable
static final RegistryKey
<WorldPreset> WorldPresets.SINGLE_BIOME_SURFACE
Modifier and TypeMethodDescriptionprivate WorldPreset
WorldPresets.Registrar.createPreset
(DimensionOptions dimensionOptions) Modifier and TypeMethodDescriptionstatic Optional
<RegistryKey<WorldPreset>> WorldPresets.getWorldPreset
(DimensionOptionsRegistryHolder registry) private static RegistryKey
<WorldPreset> private static com.mojang.serialization.DataResult
<WorldPreset> WorldPreset.validate
(WorldPreset preset) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<WorldPreset> WorldPreset.validate
(WorldPreset preset) Modifier and TypeMethodDescriptionstatic void
WorldPresets.bootstrap
(Registerable<WorldPreset> presetRegisterable) private void
WorldPresets.Registrar.register
(RegistryKey<WorldPreset> key, DimensionOptions dimensionOptions) ModifierConstructorDescription(package private)
Registrar
(Registerable<WorldPreset> presetRegisterable)