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 NetworkBuffer.Type
<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.StaticProtocolObject
key, name
-
Field Details
-
NETWORK_TYPE
-
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
-
TRIAL_OMEN
-
RAID_OMEN
-
WIND_CHARGED
-
WEAVING
-
OOZING
-
INFESTED
-
-
Method Details
-
registry
- Specified by:
registry
in interfaceProtocolObject
-
namespace
- Specified by:
namespace
in interfaceStaticProtocolObject
-
id
default int id()- Specified by:
id
in interfaceStaticProtocolObject
-
values
-
fromNamespaceId
-
fromNamespaceId
-
fromId
-