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