public static enum EntityLinkData.Type extends java.lang.Enum<EntityLinkData.Type>
| Modifier and Type | Method and Description |
|---|---|
static EntityLinkData.Type |
byId(int id) |
static EntityLinkData.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityLinkData.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityLinkData.Type REMOVE
public static final EntityLinkData.Type RIDER
public static final EntityLinkData.Type PASSENGER
public static EntityLinkData.Type[] values()
for (EntityLinkData.Type c : EntityLinkData.Type.values()) System.out.println(c);
public static EntityLinkData.Type 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 nullpublic static EntityLinkData.Type byId(int id)