public static enum ProtectionEnchantment.Type extends java.lang.Enum<ProtectionEnchantment.Type>
| 列挙型定数と説明 | 
|---|
| ALL | 
| EXPLOSION | 
| FALL | 
| FIRE | 
| PROJECTILE | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| int | getEnchantIncreasePerLevel() | 
| int | getMinimalEnchantability() | 
| static ProtectionEnchantment.Type | valueOf(java.lang.String name)指定した名前を持つこの型の列挙型定数を返します。 | 
| static ProtectionEnchantment.Type[] | values()この列挙型の定数を含む配列を宣言されている順序で返します。 | 
public static final ProtectionEnchantment.Type ALL
public static final ProtectionEnchantment.Type FIRE
public static final ProtectionEnchantment.Type FALL
public static final ProtectionEnchantment.Type EXPLOSION
public static final ProtectionEnchantment.Type PROJECTILE
public static ProtectionEnchantment.Type[] values()
for(ProtectionEnchantment.Type c: ProtectionEnchantment.Type.values()) System.out.println(c);
public static ProtectionEnchantment.Type valueOf(java.lang.String name)
name - 返される列挙型定数の名前。java.lang.IllegalArgumentException - この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException - 引数がnullの場合public int getMinimalEnchantability()
public int getEnchantIncreasePerLevel()