public static enum Types_v1_21_2.ConsumeEffect.Type extends java.lang.Enum<Types_v1_21_2.ConsumeEffect.Type> implements com.viaversion.viaversion.libs.mcstructs.converter.types.IdentifiedType
| Enum Constant and Description |
|---|
APPLY_EFFECTS |
CLEAR_ALL_EFFECTS |
PLAY_SOUND |
REMOVE_EFFECTS |
TELEPORT_RANDOMLY |
| Modifier and Type | Method and Description |
|---|---|
static Types_v1_21_2.ConsumeEffect.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types_v1_21_2.ConsumeEffect.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types_v1_21_2.ConsumeEffect.Type APPLY_EFFECTS
public static final Types_v1_21_2.ConsumeEffect.Type REMOVE_EFFECTS
public static final Types_v1_21_2.ConsumeEffect.Type CLEAR_ALL_EFFECTS
public static final Types_v1_21_2.ConsumeEffect.Type TELEPORT_RANDOMLY
public static final Types_v1_21_2.ConsumeEffect.Type PLAY_SOUND
public static Types_v1_21_2.ConsumeEffect.Type[] values()
for (Types_v1_21_2.ConsumeEffect.Type c : Types_v1_21_2.ConsumeEffect.Type.values()) System.out.println(c);
public static Types_v1_21_2.ConsumeEffect.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 null