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

execute command relative positions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.18.2
    • None
    • Unconfirmed

      execute if block ~1 ~1 ~-3 minecraft:stone_button[face=wall,facing=east,powered=true] run setblock ~-28 ~-1 ~-4 minecraft:air

      What I expected to happen:
      detect if the button on relative position ~1 ~1 ~-3 and run setblock ...

      What actually happened:
      Nothing happen

      Steps to Reproduce:
      1. make a command block with my command
      2. make stone button facing east on a wall and put a random block on ~-28 ~-1 ~-4 
      3. click on the button
      4. nothing happen

            Unassigned Unassigned
            Charpy Charpy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: