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

"/execute unless data block" never runs the command when the block doesn't have the NBT element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14, 1.16.4, 1.20.2
    • None
    • Confirmed
    • Commands

      Running

      /execute if data block ~ ~ ~ Items run say ChestHere

      will correctly print ChestHere when standing on a chest. (And not, when you're not doing so.)

      However

      /execute unless data block ~ ~ ~ Items run say NoChestHere

      will not say NoChestHere when not standing on a chest.

            Unassigned Unassigned
            snapy666 Josh Miller
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: