public enum Attribute extends Enum<Attribute>
Attributable.| 列挙型定数と説明 |
|---|
GENERIC_ARMOR
Armor bonus of an Entity.
|
GENERIC_ATTACK_DAMAGE
Attack damage of an Entity.
|
GENERIC_ATTACK_SPEED
Attack speed of an Entity.
|
GENERIC_FOLLOW_RANGE
Range at which an Entity will follow others.
|
GENERIC_KNOCKBACK_RESISTANCE
Resistance of an Entity to knockback.
|
GENERIC_LUCK
Luck bonus of an Entity.
|
GENERIC_MAX_HEALTH
Maximum health of an Entity.
|
GENERIC_MOVEMENT_SPEED
Movement speed of an Entity.
|
HORSE_JUMP_STRENGTH
Strength with which a horse will jump.
|
ZOMBIE_SPAWN_REINFORCEMENTS
Chance of a zombie to spawn reinforcements.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static Attribute |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Attribute[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Attribute GENERIC_MAX_HEALTH
public static final Attribute GENERIC_FOLLOW_RANGE
public static final Attribute GENERIC_KNOCKBACK_RESISTANCE
public static final Attribute GENERIC_MOVEMENT_SPEED
public static final Attribute GENERIC_ATTACK_DAMAGE
public static final Attribute GENERIC_ATTACK_SPEED
public static final Attribute GENERIC_ARMOR
public static final Attribute GENERIC_LUCK
public static final Attribute HORSE_JUMP_STRENGTH
public static final Attribute ZOMBIE_SPAWN_REINFORCEMENTS
public static Attribute[] values()
for(Attribute c: Attribute.values()) System.out.println(c);
public static Attribute valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2016. All rights reserved.