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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.14.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      OSX 10.14.5 with Java 1.8.0_92
    • Confirmation Status:
      Unconfirmed
    • Category:
      Items

      Description

      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}]}
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              TooManyBugBites Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: