Package net.minestom.server.potion
Interface PotionType
- All Superinterfaces:
net.kyori.adventure.key.Keyed,net.minestom.server.registry.ProtocolObject,net.minestom.server.registry.StaticProtocolObject
public sealed interface PotionType
extends net.minestom.server.registry.StaticProtocolObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionType -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @Nullable PotionTypefromId(int id) static @Nullable PotionTypefromNamespaceId(@NotNull String namespaceID) static @Nullable PotionTypefromNamespaceId(@NotNull net.minestom.server.utils.NamespaceID namespaceID) static @NotNull Collection<@NotNull PotionType> values()Methods inherited from interface net.minestom.server.registry.ProtocolObject
registryMethods inherited from interface net.minestom.server.registry.StaticProtocolObject
id, key, name, namespace
-
Field Details
-
WATER
-
MUNDANE
-
THICK
-
AWKWARD
-
NIGHT_VISION
-
LONG_NIGHT_VISION
-
INVISIBILITY
-
LONG_INVISIBILITY
-
LEAPING
-
LONG_LEAPING
-
STRONG_LEAPING
-
FIRE_RESISTANCE
-
LONG_FIRE_RESISTANCE
-
SWIFTNESS
-
LONG_SWIFTNESS
-
STRONG_SWIFTNESS
-
SLOWNESS
-
LONG_SLOWNESS
-
STRONG_SLOWNESS
-
TURTLE_MASTER
-
LONG_TURTLE_MASTER
-
STRONG_TURTLE_MASTER
-
WATER_BREATHING
-
LONG_WATER_BREATHING
-
HEALING
-
STRONG_HEALING
-
HARMING
-
STRONG_HARMING
-
POISON
-
LONG_POISON
-
STRONG_POISON
-
REGENERATION
-
LONG_REGENERATION
-
STRONG_REGENERATION
-
STRENGTH
-
LONG_STRENGTH
-
STRONG_STRENGTH
-
WEAKNESS
-
LONG_WEAKNESS
-
LUCK
-
SLOW_FALLING
-
LONG_SLOW_FALLING
-
WIND_CHARGED
-
WEAVING
-
OOZING
-
INFESTED
-
-
Method Details
-
values
-
fromNamespaceId
-
fromNamespaceId
@Nullable static @Nullable PotionType fromNamespaceId(@NotNull @NotNull net.minestom.server.utils.NamespaceID namespaceID) -
fromId
-