@Deprecated public class SkylandsWorldGeneratorModifier extends Object implements WorldGeneratorModifier
World
's generation to look like the world type "Skylands"
that used to exist in vanilla Minecraft.Constructor and Description |
---|
SkylandsWorldGeneratorModifier()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Deprecated.
Gets the unique identifier of this
CatalogType . |
String |
getName()
Deprecated.
Gets the human-readable name of this individual
CatalogType . |
void |
modifyWorldGenerator(WorldProperties properties,
DataContainer settings,
WorldGenerator worldGenerator)
Deprecated.
Modifies the given world generator.
|
public SkylandsWorldGeneratorModifier()
public void modifyWorldGenerator(WorldProperties properties, DataContainer settings, WorldGenerator worldGenerator)
WorldGeneratorModifier
To replace the base chunk generator, replace the main generator
populator using
WorldGenerator.setBaseGenerationPopulator(GenerationPopulator)
.
To replace the biome generator, use
WorldGenerator.setBiomeGenerator(BiomeGenerator)
. To change
terrain population, modify the populator list returned by
WorldGenerator.getPopulators()
or
WorldGenerator.getGenerationPopulators()
.
modifyWorldGenerator
in interface WorldGeneratorModifier
properties
- The properties of the world.settings
- A data container with (usually) user-provided settings,
can be used by the plugin to modify the world generator.worldGenerator
- The world generator, should be modified.Additional information on the generation process
public String getId()
CatalogType
CatalogType
. The identifier is
case insensitive, thus there cannot be another instance with a different
character case. The id of this instance must remain the same for the
entire duration of its existence. The identifier can be formatted however
needed.
A typical id format follows the pattern of `modId:name`
or `minecraft:name`
. However the prefix may be omitted for
default/vanilla minecraft types.
getId
in interface CatalogType
public String getName()
CatalogType
CatalogType
. This
name is not guaranteed to be unique. This value should not be used for
serialization.getName
in interface CatalogType