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

execute detect air at Y coordinates > 256 and < 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.8.6, Minecraft 15w45a
    • None
    • Confirmed

      When running any of these commands, you see a message in the chat, meaning the block detection is successful.

      /execute @a ~ ~ ~ detect ~ 500 ~ air 0 say a
      /execute @a ~ ~ ~ detect ~ -1 ~ air 0 say b
      /execute @a ~ ~ ~ detect ~ ~300 ~ air 0 say c
      

      But since the detection is made outside of the world it should not confirm the detection and not execute the say command. Others commands like testforblock, blockdata just return an error message :

      /testforblock ~ 300 ~ air
      =>The number you have entered (300.0) is too big, it must be at most 256
      
      /testforblock ~ -1 ~ air
      =>The number you have entered (-1.0) is too small, it must be at least 0
      

            searge [Mojang] Searge (Michael Stoyke)
            mrpingouin1 mrpingouin1
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: