public enum SkullType extends Enum<SkullType>
修飾子とタイプ | メソッドと説明 |
---|---|
static SkullType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static SkullType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final SkullType SKELETON
public static final SkullType WITHER
public static final SkullType ZOMBIE
public static final SkullType PLAYER
public static final SkullType CREEPER
public static final SkullType DRAGON
public static SkullType[] values()
for(SkullType c: SkullType.values()) System.out.println(c);
public static SkullType valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.