Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-158878

Custom Lingering Potions and Tipped Arrows Last Longer Than They Say

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.14.4
    • None
    • OSX 10.14.5 with Java 1.8.0_92
    • Unconfirmed
    • Items

      Custom lingering potions and tipped arrows display a much shorter duration than they actually apply, matching the reduction in duration that a normal potion would receive (1/4 for lingering potions and 1/8 for tipped arrows). For example, the command below will give a custom potion that says it lasts for 2 seconds, but applies an effect lasting 8 seconds. An equivalent command for a tipped arrow will give a tipped arrow that says it lasts for 1 second but lasts for 8.

      /give @s lingering_potion{CustomPotionEffects:[{Id:1,Amplifier:6,Duration:160}]}
      

            Unassigned Unassigned
            TooManyBugBites Anonymous
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: