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

(Splash) harming and healing potion still applys effect even if it's specified not to.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 1.10.2
    • Minecraft 16w42a
    • None
    • Confirmed

    Description

      I was on my friend's server, which he wanted me to make a custom potion for him that doesn't give him the effects, which also has the color of the harming potion. So I did the following command:

      /give @p minecraft:splash_potion 1 0 {CustomPotionEffects:[{Id:7,Amplifier:0,Duration:0}]}
      

      which gives you a splash harming potion. So when I tested it out, for some reason, I still received the harming potion effect. Same thing happens with splash potion of healing.

      Video link: https://youtu.be/TiY_0HK1I7Y


      Code analysis by marcono1234 in this comment

      Attachments

        Activity

          People

            Excited Maria Lemón
            Cyclops_Gamer Logical_Cyclops
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: