Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method and Description |
---|---|
World.Environment |
WorldCreator.environment()
Gets the environment that will be used to create or load the world
|
@NotNull World.Environment |
World.getEnvironment()
Gets the
World.Environment type of this world |
static @Nullable World.Environment |
World.Environment.getEnvironment(int id)
Deprecated.
Magic value
|
static World.Environment |
World.Environment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static World.Environment[] |
World.Environment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@NotNull WorldCreator |
WorldCreator.environment(World.Environment env)
Sets the environment that will be used to create or load the world
|
Copyright © 2021. All rights reserved.