public static enum EntityLinkData.Type extends Enum<EntityLinkData.Type>
| Modifier and Type | Method and Description |
|---|---|
static EntityLinkData.Type |
byId(int id) |
static EntityLinkData.Type |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static EntityLinkData.Type byId(int id)
Copyright © 2018–2022 NukkitX. All rights reserved.