パッケージ | 説明 |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.material |
Classes that represents various voxel types and states.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static CropState |
CropState.getByData(byte data)
非推奨です。
Magic value
|
static CropState |
CropState.valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static CropState[] |
CropState.values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
修飾子とタイプ | フィールドと説明 |
---|---|
protected static CropState |
Crops.DEFAULT_STATE |
修飾子とタイプ | メソッドと説明 |
---|---|
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 |
Crops.setState(CropState state)
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
|
コンストラクタと説明 |
---|
Crops(CropState state)
Constructs a wheat crop block in the given growth state
|
Crops(Material type,
CropState state)
Constructs a crop block of the given type and in the given growth state
|
Copyright © 2016. All rights reserved.