Package net.minestom.server.potion
Interface PotionEffect
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
static final PotionEffect
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PotionEffect
fromId
(int id) static @Nullable PotionEffect
fromNamespaceId
(@NotNull String namespaceID) static @Nullable PotionEffect
fromNamespaceId
(@NotNull NamespaceID namespaceID) default int
id()
default @NotNull NamespaceID
registry()
static @NotNull Collection
<@NotNull PotionEffect> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
key, name
-
Field Details
-
SPEED
-
SLOWNESS
-
HASTE
-
MINING_FATIGUE
-
STRENGTH
-
INSTANT_HEALTH
-
INSTANT_DAMAGE
-
JUMP_BOOST
-
NAUSEA
-
REGENERATION
-
RESISTANCE
-
FIRE_RESISTANCE
-
WATER_BREATHING
-
INVISIBILITY
-
BLINDNESS
-
NIGHT_VISION
-
HUNGER
-
WEAKNESS
-
POISON
-
WITHER
-
HEALTH_BOOST
-
ABSORPTION
-
SATURATION
-
GLOWING
-
LEVITATION
-
LUCK
-
UNLUCK
-
SLOW_FALLING
-
CONDUIT_POWER
-
DOLPHINS_GRACE
-
BAD_OMEN
-
HERO_OF_THE_VILLAGE
-
DARKNESS
-
-
Method Details
-
registry
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-
id
default int id()- Specified by:
id
in interfaceStaticProtocolObject
-
values
-
fromNamespaceId
-
fromNamespaceId
-
fromId
-