Package net.minecraftforge.common.world
Class ForgeWorldPreset
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<ForgeWorldPreset>
net.minecraftforge.common.world.ForgeWorldPreset
- All Implemented Interfaces:
IForgeRegistryEntry<ForgeWorldPreset>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ForgeWorldPreset.IChunkGeneratorFactory
private static final org.apache.logging.log4j.Logger
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreateChunkGenerator
(RegistryAccess registryAccess, long seed, String generatorSettings) Called from both the dedicated server and the world creation screen in the client.createSettings
(RegistryAccess registryAccess, long seed, boolean generateStructures, boolean generateLoot, String generatorSettings) static ForgeWorldPreset
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
factory
-
-
Constructor Details
-
ForgeWorldPreset
-
ForgeWorldPreset
-
-
Method Details
-
getDefaultWorldPreset
-
getTranslationKey
-
getDisplayName
-
createChunkGenerator
public ChunkGenerator createChunkGenerator(RegistryAccess registryAccess, long seed, String generatorSettings) Called from both the dedicated server and the world creation screen in the client. to construct the DimensionGEneratorSettings:- Returns:
- The constructed chunk generator.
-
createSettings
public WorldGenSettings createSettings(RegistryAccess registryAccess, long seed, boolean generateStructures, boolean generateLoot, String generatorSettings)
-