Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method and Description |
---|---|
@NotNull WorldCreator |
WorldCreator.copy(@NotNull World world)
Copies the options from the specified world
|
@NotNull WorldCreator |
WorldCreator.copy(@NotNull WorldCreator creator)
Copies the options from the specified
WorldCreator |
@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 |
WorldCreator.generator(@Nullable ChunkGenerator generator)
Sets the generator that will be used to create or load the world.
|
@NotNull WorldCreator |
WorldCreator.generator(@Nullable String generator)
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.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.
|
static @NotNull WorldCreator |
WorldCreator.name(@NotNull String name)
Creates a new
WorldCreator for the given world name |
static @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 |
WorldCreator.type(@NotNull WorldType type)
Sets the type of the world that will be created or loaded
|
Modifier and Type | Method and Description |
---|---|
@NotNull WorldCreator |
WorldCreator.copy(@NotNull WorldCreator creator)
Copies the options from the specified
WorldCreator |
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.
|
Copyright © 2021. All rights reserved.