Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
Modifier and Type | Method | Description |
---|---|---|
static Difficulty |
Difficulty.getByValue(int value) |
Deprecated.
Magic value
|
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 | Description |
---|---|---|
void |
World.setDifficulty(Difficulty difficulty) |
Sets the Difficulty of the world.
|
Copyright © 2019. All rights reserved.