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 TypeMethodDescriptionCopies 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.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 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.