java.io.Serializable
, java.lang.Comparable<AbilityComponent.CompLocation>
public static enum AbilityComponent.CompLocation extends java.lang.Enum<AbilityComponent.CompLocation>
Enum Constant | Description |
---|---|
HELD |
|
INVENTORY |
|
NEARBY |
|
ONGROUND |
|
TRIGGER |
|
WORN |
Modifier and Type | Method | Description |
---|---|---|
static AbilityComponent.CompLocation |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AbilityComponent.CompLocation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbilityComponent.CompLocation INVENTORY
public static final AbilityComponent.CompLocation HELD
public static final AbilityComponent.CompLocation WORN
public static final AbilityComponent.CompLocation NEARBY
public static final AbilityComponent.CompLocation ONGROUND
public static final AbilityComponent.CompLocation TRIGGER
public static AbilityComponent.CompLocation[] values()
for (AbilityComponent.CompLocation c : AbilityComponent.CompLocation.values()) System.out.println(c);
public static AbilityComponent.CompLocation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null