Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable Difficulty |
Difficulty.getByValue(int value)
Deprecated.
Magic value
|
@NotNull Difficulty |
World.getDifficulty()
Gets the Difficulty of the world.
|
static Difficulty |
Difficulty.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Difficulty[] |
Difficulty.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
World.setDifficulty(@NotNull Difficulty difficulty)
Sets the Difficulty of the world.
|
Copyright © 2021. All rights reserved.