public enum NetherWartsState extends Enum<NetherWartsState>
| 列挙型定数と説明 |
|---|
RIPE
Ready to harvest
|
SEEDED
State when first seeded
|
STAGE_ONE
First growth stage
|
STAGE_TWO
Second growth stage
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static NetherWartsState |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static NetherWartsState[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final NetherWartsState SEEDED
public static final NetherWartsState STAGE_ONE
public static final NetherWartsState STAGE_TWO
public static final NetherWartsState RIPE
public static NetherWartsState[] values()
for(NetherWartsState c: NetherWartsState.values()) System.out.println(c);
public static NetherWartsState valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2016. All rights reserved.