Uses of Class
org.bukkit.WorldCreator
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of WorldCreator in org.bukkit
Modifier and TypeMethodDescriptionWorldCreator.biomeProvider
(@Nullable String biomeProvider) Sets the biome provider that will be used to create or load the world.WorldCreator.biomeProvider
(@Nullable String biomeProvider, @Nullable CommandSender output) Sets the biome provider that will be used to create or load the world.WorldCreator.biomeProvider
(@Nullable BiomeProvider biomeProvider) Sets the biome provider that will be used to create or load the world.Copies the options from the specified worldWorldCreator.copy
(@NotNull WorldCreator creator) Copies the options from the specifiedWorldCreator
WorldCreator.environment
(World.Environment env) Sets the environment that will be used to create or load the worldWorldCreator.generateStructures
(boolean generate) Sets whether or not worlds created or loaded with this creator will have structures.Sets the generator that will be used to create or load the world.WorldCreator.generator
(@Nullable String generator, @Nullable CommandSender output) Sets the generator that will be used to create or load the world.WorldCreator.generator
(@Nullable ChunkGenerator generator) Sets the generator that will be used to create or load the world.WorldCreator.generatorSettings
(@NotNull String generatorSettings) Sets the generator settings of the world that will be created or loaded.WorldCreator.hardcore
(boolean hardcore) Sets whether the world will be hardcore or not.WorldCreator.keepSpawnLoaded
(TriState keepSpawnLoaded) Controls if a world should be kept loaded or not, default (NOT_SET) will use the servers standard configuration, otherwise, will act as an override towards this settingstatic @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 keyWorldCreator.seed
(long seed) Sets the seed that will be used to create this worldSets the type of the world that will be created or loadedModifier and TypeMethodDescriptionWorldCreator.copy
(@NotNull WorldCreator creator) Copies the options from the specifiedWorldCreator
Bukkit.createWorld
(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.Server.createWorld
(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.