Uses of Enum Class
org.bukkit.CropState
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes that represents various voxel types and states.
-
Uses of CropState in org.bukkit
Modifier and TypeMethodDescriptionstatic CropState
CropState.getByData
(byte data) Deprecated.Magic valuestatic CropState
Returns the enum constant of this class with the specified name.static CropState[]
CropState.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of CropState in org.bukkit.material
Modifier and TypeFieldDescriptionprotected static final CropState
Crops.DEFAULT_STATE
Deprecated.Modifier and TypeMethodDescriptionCrops.getState()
Deprecated.Gets the current growth state of this crop For crops with only four growth states such as beetroot, only the values SEEDED, SMALL, TALL and RIPE will be returned.Modifier and TypeMethodDescriptionvoid
Deprecated.Sets the growth state of this crop For crops with only four growth states such as beetroot, the 8 CropStates are mapped into four states: SEEDED, SMALL, TALL and RIPE GERMINATED will change to SEEDED VERY_SMALL will change to SMALL MEDIUM will change to TALL VERY_TALL will change to RIPE