Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method | Description |
---|---|---|
static @Nullable WorldType |
WorldType.getByName(@NotNull String name) |
Gets a WorldType by its name
|
@Nullable WorldType |
World.getWorldType() |
Gets the type of this world.
|
@NotNull WorldType |
WorldCreator.type() |
Gets the type of the world that will be created or loaded
|
static WorldType |
WorldType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static WorldType[] |
WorldType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull WorldCreator |
WorldCreator.type(@NotNull WorldType type) |
Sets the type of the world that will be created or loaded
|
Copyright © 2020. All rights reserved.