Interface PotionEffect
- All Superinterfaces:
Holder<PotionEffect>
,net.kyori.adventure.key.Keyed
,RegistryKey<PotionEffect>
,StaticProtocolObject<PotionEffect>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.registry.Holder
Holder.Direct<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PotionEffect
static final PotionEffect
static final PotionEffect
static final @NotNull Codec
<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 Registry
<PotionEffect> static @NotNull Collection
<@NotNull PotionEffect> values()
Methods inherited from interface net.minestom.server.registry.Holder
asKey, asValue, isDirect, resolve, unwrap
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
name
-
Field Details
-
NETWORK_TYPE
-
CODEC
-
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 interfaceStaticProtocolObject<PotionEffect>
-
key
@NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
key
in interfacenet.kyori.adventure.key.Keyed
- Specified by:
key
in interfaceStaticProtocolObject<PotionEffect>
-
id
default int id()- Specified by:
id
in interfaceStaticProtocolObject<PotionEffect>
-
values
-
fromKey
-
fromKey
-
fromId
-
staticRegistry
-