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

Execute command will not work properly in 1.16

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.1
    • None
    • Unconfirmed
    • (Unassigned)

      I had a command block set up where it would use /execute to detect when a certain type of splash potion would be thrown. 

      An example of the method I have been using to detect when a splash potion has been thrown is: 

      /execute at @e[type=potion,nbt={Potion:{tag:{a:t}}}]  run say hi
      

       

      When a potion with the nbt tag {a:t} was thrown, the command /run say hi would run. It worked perfectly fine in 1.15.2. 

      But when I switched to 1.16, the command suddenly stopped working. I tested the exact same command in 1.15.2 in a new world and it worked perfectly fine as before, but when I used the exact same world with the exact same command and the exact same potion it simply would not detect the potion being thrown.

       

       

            Unassigned Unassigned
            Julius_ Julius B
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: