Uses of Enum
org.bukkit.Difficulty
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of Difficulty in org.bukkit
Modifier and TypeMethodDescriptionstatic Difficulty
Difficulty.getByValue
(int value) Deprecated.Magic valueWorld.getDifficulty()
Gets the Difficulty of the world.static Difficulty
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 TypeMethodDescriptionvoid
World.setDifficulty
(Difficulty difficulty) Sets the Difficulty of the world.