Package net.minecraftforge.common.world
Class ForgeWorldType
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<ForgeWorldType>
net.minecraftforge.common.world.ForgeWorldType
- All Implemented Interfaces:
IForgeRegistryEntry<ForgeWorldType>
-
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 ForgeWorldType.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
(Registry<Biome> biomeRegistry, Registry<DimensionSettings> dimensionSettingsRegistry, long seed, String generatorSettings) Called from both the dedicated server and the world creation screen in the client.createSettings
(DynamicRegistries dynamicRegistries, long seed, boolean generateStructures, boolean generateLoot, String generatorSettings) static ForgeWorldType
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
-
ForgeWorldType
-
ForgeWorldType
-
-
Method Details
-
getDefaultWorldType
-
getTranslationKey
-
getDisplayName
-
createChunkGenerator
public ChunkGenerator createChunkGenerator(Registry<Biome> biomeRegistry, Registry<DimensionSettings> dimensionSettingsRegistry, 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 DimensionGeneratorSettings createSettings(DynamicRegistries dynamicRegistries, long seed, boolean generateStructures, boolean generateLoot, String generatorSettings)
-