Klasse AdvancedWorldCreator
java.lang.Object
org.bukkit.WorldCreator
de.freesoccerhdx.advancedworldcreatorapi.AdvancedWorldCreator
public class AdvancedWorldCreator
extends org.bukkit.WorldCreator
This class is used to create a new world with the AdvancedWorldCreatorAPI
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAdvancedWorldCreator
(String worldname) Creates an empty WorldCreationOptions for the given world name -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.bukkit.World
Gets theEnvironmentBuilder
or null if not set beforeGets theGeneratorConfiguration
or null if not set beforevoid
setEnvironmentBuilder
(EnvironmentBuilder environmentBuilder) Sets theEnvironmentBuilder
to create a CustomWorld.Environment
null as Argument will remove theEnvironmentBuilder
and will set theWorld.Environment
to Normal, otherwise to Customvoid
setGeneratorConfiguration
(GeneratorConfiguration generatorConfiguration) Sets theGeneratorConfiguration
to create a more modifier World.void
setStructurePlacementOverride
(StructurePlacementOverride structurePlacementOverride) Von Klasse geerbte Methoden org.bukkit.WorldCreator
biomeProvider, biomeProvider, biomeProvider, biomeProvider, copy, copy, environment, environment, generateStructures, generateStructures, generator, generator, generator, generator, generatorSettings, generatorSettings, getBiomeProviderForName, getGeneratorForName, hardcore, hardcore, keepSpawnInMemory, keepSpawnInMemory, name, name, seed, seed, type, type
-
Konstruktordetails
-
AdvancedWorldCreator
Creates an empty WorldCreationOptions for the given world name- Parameter:
worldname
- Name of the world that will be created
-
-
Methodendetails
-
getStructurePlacementOverride
-
setStructurePlacementOverride
-
setGeneratorConfiguration
Sets theGeneratorConfiguration
to create a more modifier World. null as Argument will remove theGeneratorConfiguration
and will generate the World with vanilla behaviour- Parameter:
generatorConfiguration
- The Custom GeneratorConfiguration
-
getGeneratorConfiguration
Gets theGeneratorConfiguration
or null if not set before- Gibt zurück:
- GeneratorConfiguration
-
setEnvironmentBuilder
Sets theEnvironmentBuilder
to create a CustomWorld.Environment
null as Argument will remove theEnvironmentBuilder
and will set theWorld.Environment
to Normal, otherwise to Custom- Parameter:
environmentBuilder
- The Builder for the Custom Environment
-
getEnvironmentBuilder
Gets theEnvironmentBuilder
or null if not set before- Gibt zurück:
- The @
EnvironmentBuilder
-
createWorld
public org.bukkit.World createWorld()- Setzt außer Kraft:
createWorld
in Klasseorg.bukkit.WorldCreator
-