public enum EnumTrainerCardUser extends java.lang.Enum<EnumTrainerCardUser>
| Enum Constant and Description |
|---|
ADMINISTRATOR |
DEVELOPER |
MODELER |
REGULAR |
SUPPORT |
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.ResourceLocation |
resource |
| Modifier and Type | Method and Description |
|---|---|
static EnumTrainerCardUser |
getFromPlayer(net.minecraft.entity.player.PlayerEntity player) |
static EnumTrainerCardUser |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumTrainerCardUser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumTrainerCardUser REGULAR
public static final EnumTrainerCardUser MODELER
public static final EnumTrainerCardUser SUPPORT
public static final EnumTrainerCardUser DEVELOPER
public static final EnumTrainerCardUser ADMINISTRATOR
public static EnumTrainerCardUser[] values()
for (EnumTrainerCardUser c : EnumTrainerCardUser.values()) System.out.println(c);
public static EnumTrainerCardUser 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 EnumTrainerCardUser getFromPlayer(net.minecraft.entity.player.PlayerEntity player)