public static enum StriderEntity.StriderData.RiderType extends Enum<StriderEntity.StriderData.RiderType>
Enum Constant and Description |
---|
BABY_RIDER |
NO_RIDER |
PIGLIN_RIDER |
Modifier and Type | Method and Description |
---|---|
static StriderEntity.StriderData.RiderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StriderEntity.StriderData.RiderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StriderEntity.StriderData.RiderType NO_RIDER
public static final StriderEntity.StriderData.RiderType BABY_RIDER
public static final StriderEntity.StriderData.RiderType PIGLIN_RIDER
public static StriderEntity.StriderData.RiderType[] values()
for (StriderEntity.StriderData.RiderType c : StriderEntity.StriderData.RiderType.values()) System.out.println(c);
public static StriderEntity.StriderData.RiderType 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 null