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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfaceNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ForgeWorldPreset.IChunkGeneratorFactoryprivate static final org.apache.logging.log4j.LoggerFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
ConstructorsConstructorDescription -
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 ForgeWorldPresetMethods 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)
-