Uses of Enum Class
org.bukkit.CropState

Packages that use 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

    Methods in org.bukkit that return CropState
    Modifier and Type
    Method
    Description
    CropState.getByData(byte data)
    Deprecated.
    Magic value
    static CropState
    CropState.valueOf(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static CropState[]
    CropState.values()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.
  • Uses of CropState in org.bukkit.material

    Fields in org.bukkit.material declared as CropState
    Modifier and Type
    Field
    Description
    protected static final CropState
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Methods in org.bukkit.material that return CropState
    Modifier and Type
    Method
    Description
    Crops.getState()
    Deprecated, for removal: This API element is subject to removal in a future version.
    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.
    Methods in org.bukkit.material with parameters of type CropState
    Modifier and Type
    Method
    Description
    void
    Crops.setState(CropState state)
    Deprecated, for removal: This API element is subject to removal in a future version.
    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
    Constructors in org.bukkit.material with parameters of type CropState
    Modifier
    Constructor
    Description
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a wheat crop block in the given growth state
     
    Crops(Material type, CropState state)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a crop block of the given type and in the given growth state