public enum Effect extends Enum<Effect>
| Modifier and Type | Method and Description |
|---|---|
static Effect |
fromNetworkId(int id) |
static int |
toNetworkId(Effect effect) |
static Effect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Effect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Effect SPEED
public static final Effect SLOWNESS
public static final Effect HASTE
public static final Effect MINING_FATIGUE
public static final Effect STRENGTH
public static final Effect INSTANT_HEALTH
public static final Effect INSTANT_DAMAGE
public static final Effect JUMP_BOOST
public static final Effect NAUSEA
public static final Effect REGENERATION
public static final Effect RESISTANCE
public static final Effect FIRE_RESISTANCE
public static final Effect WATER_BREATHING
public static final Effect INVISIBILITY
public static final Effect BLINDNESS
public static final Effect NIGHT_VISION
public static final Effect HUNGER
public static final Effect WEAKNESS
public static final Effect POISON
public static final Effect WITHER
public static final Effect HEALTH_BOOST
public static final Effect ABSORPTION
public static final Effect SATURATION
public static final Effect GLOWING
public static final Effect LEVITATION
public static final Effect LUCK
public static final Effect UNLUCK
public static final Effect SLOW_FALLING
public static final Effect CONDUIT_POWER
public static final Effect DOLPHINS_GRACE
public static final Effect BAD_OMEN
public static final Effect HERO_OF_THE_VILLAGE
public static final Effect[] VALUES
public static Effect[] values()
for (Effect c : Effect.values()) System.out.println(c);
public static Effect 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 Effect fromNetworkId(int id)
public static int toNetworkId(Effect effect)
Copyright © 2022. All rights reserved.