Uses of Class
net.minecraft.world.level.levelgen.presets.WorldPreset
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of WorldPreset in com.mojang.realmsclient.util
ModifierConstructorDescriptionprivate
LevelType
(int p_239483_, ResourceKey<WorldPreset> p_239484_) -
Uses of WorldPreset in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionstatic final Map<Optional<ResourceKey<WorldPreset>>,
PresetEditor> PresetEditor.EDITORS
Deprecated.private final Holder<WorldPreset>
WorldCreationUiState.WorldTypeEntry.preset
The field for thepreset
record component.Modifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>>
WorldCreationUiState.findPreset
(WorldCreationContext p_268025_, Optional<ResourceKey<WorldPreset>> p_268184_) WorldCreationUiState.WorldTypeEntry.preset()
Returns the value of thepreset
record component.Modifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>>
WorldCreationUiState.findPreset
(WorldCreationContext p_268025_, Optional<ResourceKey<WorldPreset>> p_268184_) private static Optional<List<WorldCreationUiState.WorldTypeEntry>>
WorldCreationUiState.getNonEmptyList
(Registry<WorldPreset> p_268296_, TagKey<WorldPreset> p_268097_) private static Optional<List<WorldCreationUiState.WorldTypeEntry>>
WorldCreationUiState.getNonEmptyList
(Registry<WorldPreset> p_268296_, TagKey<WorldPreset> p_268097_) ModifierConstructorDescriptionprivate
CreateWorldScreen
(Minecraft p_276053_, Screen p_276049_, WorldCreationContext p_276047_, Optional<ResourceKey<WorldPreset>> p_276013_, OptionalLong p_276031_) WorldCreationUiState
(Path p_276024_, WorldCreationContext p_276050_, Optional<ResourceKey<WorldPreset>> p_276022_, OptionalLong p_276014_) WorldTypeEntry
(Holder<WorldPreset> preset) Creates an instance of aWorldTypeEntry
record class. -
Uses of WorldPreset in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<WorldPreset>>
Registries.WORLD_PRESET
-
Uses of WorldPreset in net.minecraft.server.dedicated
Modifier and TypeFieldDescriptionprivate static final Map<String,
ResourceKey<WorldPreset>> DedicatedServerProperties.WorldDimensionData.LEGACY_PRESET_NAMES
-
Uses of WorldPreset in net.minecraft.tags
Modifier and TypeFieldDescriptionstatic final TagKey<WorldPreset>
WorldPresetTags.EXTENDED
static final TagKey<WorldPreset>
WorldPresetTags.NORMAL
-
Uses of WorldPreset in net.minecraft.world.level.levelgen.presets
Modifier and TypeFieldDescriptionstatic final ResourceKey<WorldPreset>
WorldPresets.AMPLIFIED
static final com.mojang.serialization.Codec<Holder<WorldPreset>>
WorldPreset.CODEC
private final BootstapContext<WorldPreset>
WorldPresets.Bootstrap.context
static final ResourceKey<WorldPreset>
WorldPresets.DEBUG
static final com.mojang.serialization.Codec<WorldPreset>
WorldPreset.DIRECT_CODEC
static final ResourceKey<WorldPreset>
WorldPresets.FLAT
static final ResourceKey<WorldPreset>
WorldPresets.LARGE_BIOMES
static final ResourceKey<WorldPreset>
WorldPresets.NORMAL
static final ResourceKey<WorldPreset>
WorldPresets.SINGLE_BIOME_SURFACE
Modifier and TypeMethodDescriptionprivate WorldPreset
WorldPresets.Bootstrap.createPresetWithCustomOverworld
(LevelStem p_226490_) Modifier and TypeMethodDescriptionstatic Optional<ResourceKey<WorldPreset>>
WorldPresets.fromSettings
(Registry<LevelStem> p_249784_) private static ResourceKey<WorldPreset>
private static com.mojang.serialization.DataResult<WorldPreset>
WorldPreset.requireOverworld
(WorldPreset p_238379_) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WorldPreset>
WorldPreset.requireOverworld
(WorldPreset p_238379_) Modifier and TypeMethodDescriptionstatic void
WorldPresets.bootstrap
(BootstapContext<WorldPreset> p_256172_) private void
WorldPresets.Bootstrap.registerCustomOverworldPreset
(ResourceKey<WorldPreset> p_256570_, LevelStem p_256269_) ModifierConstructorDescription(package private)
Bootstrap
(BootstapContext<WorldPreset> p_256588_) -
Uses of WorldPreset in net.minecraftforge.client
Modifier and TypeFieldDescriptionprivate static Map<ResourceKey<WorldPreset>,
PresetEditor> PresetEditorManager.editors
Modifier and TypeMethodDescriptionstatic @Nullable PresetEditor
PresetEditorManager.get
(ResourceKey<WorldPreset> key) Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists. -
Uses of WorldPreset in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceKey<WorldPreset>,
PresetEditor> RegisterPresetEditorsEvent.editors
Modifier and TypeMethodDescriptionvoid
RegisterPresetEditorsEvent.register
(ResourceKey<WorldPreset> key, PresetEditor editor) Registers a PresetEditor for a given world preset key.ModifierConstructorDescription -
Uses of WorldPreset in net.minecraftforge.debug.client
Modifier and TypeFieldDescriptionstatic final ResourceKey<WorldPreset>
CustomPresetEditorTest.WORLD_PRESET_KEY
Modifier and TypeMethodDescriptionprivate static WorldPreset
CustomPresetEditorTest.CommonModEvents.makeWorldPreset
(BootstapContext<WorldPreset> context) Modifier and TypeMethodDescriptionprivate static WorldPreset
CustomPresetEditorTest.CommonModEvents.makeWorldPreset
(BootstapContext<WorldPreset> context)
PresetEditorManager.get(ResourceKey)
instead.