Uses of Class
org.bukkit.WorldCreator
Packages that use WorldCreator
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of WorldCreator in org.bukkit
Methods in org.bukkit that return WorldCreatorModifier and TypeMethodDescription@NotNull WorldCreator
WorldCreator.biomeProvider
(@Nullable String biomeProvider) Sets the biome provider that will be used to create or load the world.@NotNull WorldCreator
WorldCreator.biomeProvider
(@Nullable String biomeProvider, @Nullable CommandSender output) Sets the biome provider that will be used to create or load the world.@NotNull WorldCreator
WorldCreator.biomeProvider
(@Nullable BiomeProvider biomeProvider) Sets the biome provider that will be used to create or load the world.@NotNull WorldCreator
WorldCreator.bonusChest
(boolean bonusChest) Sets whether a bonus chest should be generated or not.@NotNull WorldCreator
Copies the options from the specified world@NotNull WorldCreator
WorldCreator.copy
(@NotNull WorldCreator creator) Copies the options from the specifiedWorldCreator
@NotNull WorldCreator
WorldCreator.environment
(World.Environment env) Sets the environment that will be used to create or load the world@NotNull WorldCreator
WorldCreator.generateStructures
(boolean generate) Sets whether or not worlds created or loaded with this creator will have structures.@NotNull WorldCreator
Sets the generator that will be used to create or load the world.@NotNull WorldCreator
WorldCreator.generator
(@Nullable String generator, @Nullable CommandSender output) Sets the generator that will be used to create or load the world.@NotNull WorldCreator
WorldCreator.generator
(@Nullable ChunkGenerator generator) Sets the generator that will be used to create or load the world.@NotNull WorldCreator
WorldCreator.generatorSettings
(@NotNull String generatorSettings) Sets the generator settings of the world that will be created or loaded.@NotNull WorldCreator
WorldCreator.hardcore
(boolean hardcore) Sets whether the world will be hardcore or not.@NotNull WorldCreator
WorldCreator.keepSpawnLoaded
(TriState keepSpawnLoaded) Deprecated, for removal: This API element is subject to removal in a future version.completely unfunctional as the server no longer has always loaded spawn chunks.static @NotNull WorldCreator
Creates a newWorldCreator
for the given world namestatic @NotNull WorldCreator
WorldCreator.ofKey
(@NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given key.static @NotNull WorldCreator
WorldCreator.ofNameAndKey
(@NotNull String levelName, @NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given world name and key@NotNull WorldCreator
WorldCreator.seed
(long seed) Sets the seed that will be used to create this world@NotNull WorldCreator
Sets the type of the world that will be created or loadedMethods in org.bukkit with parameters of type WorldCreatorModifier and TypeMethodDescription@NotNull WorldCreator
WorldCreator.copy
(@NotNull WorldCreator creator) Copies the options from the specifiedWorldCreator
static @Nullable World
Bukkit.createWorld
(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.@Nullable World
Server.createWorld
(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.