枚举的使用
org.bukkit.CropState
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
-
org.bukkit中CropState的使用
-
org.bukkit.material中CropState的使用
修饰符和类型方法说明Crops.getState()
已过时。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.修饰符和类型方法说明void
已过时。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