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

"/execute if block ~ ~ ~ minecraft:water" detects water as air

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 18w03b
    • None
    • Windows 8.1 1Gb dedicated ram
    • Unconfirmed

      When trying to execute as entities in water the execute if command detects water as air, meaning entities in water do nothing and when executing as entities in air all entities in water are affected as well.

      To replicate simply throw an item in water and try to run an execute command that detects if the entity is in water, ie:

      /execute as @e[type=item] if block ~ ~ ~ minecraft:water run say hello

      Nothing will happen, but if you run the execute command detecting for air the item in the water will respond, ie:

      /execute as @e[type=item] if block ~ ~ ~ minecraft:air run say hello

            Unassigned Unassigned
            jjlr jeremy ruddock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: