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 WorldPresetModifierConstructorDescriptionprivateLevelType(int p_239483_, ResourceKey<WorldPreset> p_239484_) -
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 p_268025_, Optional<ResourceKey<WorldPreset>> p_268184_) 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 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_) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type WorldPresetModifierConstructorDescriptionprivateCreateWorldScreen(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 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 BootstapContext<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 p_226490_) Methods in net.minecraft.world.level.levelgen.presets that return types with arguments of type WorldPresetModifier 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_) Methods in net.minecraft.world.level.levelgen.presets with parameters of type WorldPresetModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WorldPreset>WorldPreset.requireOverworld(WorldPreset p_238379_) Method parameters in net.minecraft.world.level.levelgen.presets with type arguments of type WorldPresetModifier and TypeMethodDescriptionstatic voidWorldPresets.bootstrap(BootstapContext<WorldPreset> p_256172_) private voidWorldPresets.Bootstrap.registerCustomOverworldPreset(ResourceKey<WorldPreset> p_256570_, LevelStem p_256269_) Constructor parameters in net.minecraft.world.level.levelgen.presets with type arguments of type WorldPresetModifierConstructorDescription(package private)Bootstrap(BootstapContext<WorldPreset> p_256588_) -
Uses of WorldPreset in net.minecraftforge.client
Fields in net.minecraftforge.client with type parameters of type WorldPresetModifier and TypeFieldDescriptionprivate static Map<ResourceKey<WorldPreset>,PresetEditor> PresetEditorManager.editorsMethod parameters in net.minecraftforge.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.minecraftforge.client.event
Fields in net.minecraftforge.client.event with type parameters of type WorldPresetModifier and TypeFieldDescriptionprivate final Map<ResourceKey<WorldPreset>,PresetEditor> RegisterPresetEditorsEvent.editorsMethod parameters in net.minecraftforge.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.minecraftforge.client.event with type arguments of type WorldPresetModifierConstructorDescription
PresetEditorManager.get(ResourceKey)instead.