Package net.minestom.server.potion
Interface PotionEffect
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
-
Field Summary
FieldsModifier 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
static @Nullable PotionEffect
fromKey
(@NotNull net.kyori.adventure.key.Key key) default int
id()
default @NotNull net.kyori.adventure.key.Key
key()
registry()
static @NotNull Collection
<@NotNull PotionEffect> values()
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
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
-
key
@NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
key
in interfacenet.kyori.adventure.key.Keyed
- Specified by:
key
in interfaceStaticProtocolObject
-
id
default int id()- Specified by:
id
in interfaceStaticProtocolObject
-
values
-
fromKey
-
fromKey
-
fromId
-