Interface ThrownPotion

    • Method Detail

      • getEffects

        Collection<PotionEffect> getEffects()
        Returns the effects that are applied by this potion.
        Returns:
        The potion effects
      • getItem

        ItemStack getItem()
        Returns a copy of the ItemStack for this thrown potion.

        Altering this copy will not alter the thrown potion directly. If you want to alter the thrown potion, you must use the setItemStack method.

        Returns:
        A copy of the ItemStack for this thrown potion.