Uses of Class
net.minecraft.world.level.levelgen.presets.WorldPreset
Packages that use 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
Constructor parameters in com.mojang.realmsclient.util with type arguments of type WorldPreset -
Uses of WorldPreset in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type WorldPresetModifier and TypeFieldDescriptionstatic final Map<Optional<ResourceKey<WorldPreset>>, PresetEditor> PresetEditor.EDITORSDeprecated.private final Holder<WorldPreset> WorldCreationUiState.WorldTypeEntry.presetThe field for thepresetrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return types with arguments of type WorldPresetModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext context, Optional<ResourceKey<WorldPreset>> preset) WorldCreationUiState.WorldTypeEntry.preset()Returns the value of thepresetrecord component.Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type WorldPresetModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext context, Optional<ResourceKey<WorldPreset>> preset) private static Optional<List<WorldCreationUiState.WorldTypeEntry>> WorldCreationUiState.getNonEmptyList(Registry<WorldPreset> registry, TagKey<WorldPreset> key) private static Optional<List<WorldCreationUiState.WorldTypeEntry>> WorldCreationUiState.getNonEmptyList(Registry<WorldPreset> registry, TagKey<WorldPreset> key) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type WorldPresetModifierConstructorDescriptionprivateCreateWorldScreen(Minecraft minecraft, Screen lastScreen, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed) WorldCreationUiState(Path savesFolder, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed) WorldTypeEntry(Holder<WorldPreset> preset) Creates an instance of aWorldTypeEntryrecord class. -
Uses of WorldPreset in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type WorldPresetModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<WorldPreset>> Registries.WORLD_PRESET -
Uses of WorldPreset in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated with type parameters of type WorldPresetModifier and TypeFieldDescriptionprivate static final Map<String, ResourceKey<WorldPreset>> DedicatedServerProperties.WorldDimensionData.LEGACY_PRESET_NAMES -
Uses of WorldPreset in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type WorldPresetModifier and TypeFieldDescriptionstatic final TagKey<WorldPreset> WorldPresetTags.EXTENDEDstatic final TagKey<WorldPreset> WorldPresetTags.NORMALMethods in net.minecraft.tags that return types with arguments of type WorldPreset -
Uses of WorldPreset in net.minecraft.world.level.levelgen.presets
Fields in net.minecraft.world.level.levelgen.presets with type parameters of type WorldPresetModifier and TypeFieldDescriptionstatic final ResourceKey<WorldPreset> WorldPresets.AMPLIFIEDstatic final com.mojang.serialization.Codec<Holder<WorldPreset>> WorldPreset.CODECprivate final BootstrapContext<WorldPreset> WorldPresets.Bootstrap.contextstatic final ResourceKey<WorldPreset> WorldPresets.DEBUGstatic final com.mojang.serialization.Codec<WorldPreset> WorldPreset.DIRECT_CODECstatic final ResourceKey<WorldPreset> WorldPresets.FLATstatic final ResourceKey<WorldPreset> WorldPresets.LARGE_BIOMESstatic final ResourceKey<WorldPreset> WorldPresets.NORMALstatic final ResourceKey<WorldPreset> WorldPresets.SINGLE_BIOME_SURFACEMethods in net.minecraft.world.level.levelgen.presets that return WorldPresetModifier and TypeMethodDescriptionprivate WorldPresetWorldPresets.Bootstrap.createPresetWithCustomOverworld(LevelStem overworldStem) Methods in net.minecraft.world.level.levelgen.presets that return types with arguments of type WorldPresetModifier and TypeMethodDescriptionstatic Optional<ResourceKey<WorldPreset>> WorldPresets.fromSettings(WorldDimensions worldDimensions) private static ResourceKey<WorldPreset> private static com.mojang.serialization.DataResult<WorldPreset> WorldPreset.requireOverworld(WorldPreset preset) Methods in net.minecraft.world.level.levelgen.presets with parameters of type WorldPresetModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WorldPreset> WorldPreset.requireOverworld(WorldPreset preset) Method parameters in net.minecraft.world.level.levelgen.presets with type arguments of type WorldPresetModifier and TypeMethodDescriptionstatic voidWorldPresets.bootstrap(BootstrapContext<WorldPreset> context) private voidWorldPresets.Bootstrap.registerCustomOverworldPreset(ResourceKey<WorldPreset> dimensionKey, LevelStem levelStem) Constructor parameters in net.minecraft.world.level.levelgen.presets with type arguments of type WorldPreset -
Uses of WorldPreset in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client with type parameters of type WorldPresetModifier and TypeFieldDescriptionprivate static Map<ResourceKey<WorldPreset>, PresetEditor> PresetEditorManager.editorsMethod parameters in net.neoforged.neoforge.client with type arguments of type WorldPresetModifier and TypeMethodDescriptionstatic @Nullable PresetEditorPresetEditorManager.get(ResourceKey<WorldPreset> key) Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists. -
Uses of WorldPreset in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type WorldPresetModifier and TypeFieldDescriptionprivate final Map<ResourceKey<WorldPreset>, PresetEditor> RegisterPresetEditorsEvent.editorsMethod parameters in net.neoforged.neoforge.client.event with type arguments of type WorldPresetModifier and TypeMethodDescriptionvoidRegisterPresetEditorsEvent.register(ResourceKey<WorldPreset> key, PresetEditor editor) Registers a PresetEditor for a given world preset key.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type WorldPresetModifierConstructorDescription
PresetEditorManager.get(ResourceKey)instead.