public interface WorldCreationSettings
Modifier and Type | Method and Description |
---|---|
boolean |
bonusChestEnabled()
Gets whether the bonus chest should be created in this world.
|
boolean |
commandsAllowed()
Gets whether commands are allowed in this world.
|
boolean |
doesKeepSpawnLoaded()
Returns whether spawn chunks of this world remain loaded when no players
are present.
|
DimensionType |
getDimensionType()
Gets the dimension type for the world.
|
GameMode |
getGameMode()
Gets the default gamemode of the world.
|
Collection<WorldGeneratorModifier> |
getGeneratorModifiers()
Gets an immutable collection of the world generator modifiers applied
to this world.
|
DataContainer |
getGeneratorSettings()
Gets a
DataContainer of any extra settings required by the
generator. |
GeneratorType |
getGeneratorType()
Gets the type of the generator for the world.
|
long |
getSeed()
Gets the seed of the world.
|
String |
getWorldName()
Gets the name of the world.
|
boolean |
isEnabled()
Gets whether this world is enabled.
|
boolean |
isHardcore()
Gets whether hardcore mode is enabled in this world.
|
boolean |
loadOnStartup()
Gets whether this world will load when the server starts up.
|
boolean |
usesMapFeatures()
Gets whether map features are enabled to be generated into the world.
|
String getWorldName()
boolean isEnabled()
Entity.transferToWorld(java.lang.String, com.flowpowered.math.vector.Vector3d)
.boolean loadOnStartup()
boolean doesKeepSpawnLoaded()
long getSeed()
GameMode getGameMode()
GeneratorType getGeneratorType()
Collection<WorldGeneratorModifier> getGeneratorModifiers()
boolean usesMapFeatures()
boolean isHardcore()
boolean commandsAllowed()
boolean bonusChestEnabled()
DimensionType getDimensionType()
DataContainer getGeneratorSettings()
DataContainer
of any extra settings required by the
generator.