@minecraft
    Preparing search index...

    Class Potions

    Used for accessing all potion effect types, delivery types, and creating potions.

    Index

    Methods

    • Parameters

      • potionEffectId: string

        A valid potion effect id. See @minecraft/vanilla-data.MinecraftPotionEffectTypes

      Returns PotionEffectType

      A type handle wrapping the valid effect id, or undefined for an invalid effect id.

      Retrieves a type handle for a specified potion effect id.