Mojira Archive
MC-124552

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

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

Invalid

jeremy ruddock

2018-01-25, 02:47 AM

2018-01-25, 02:48 AM

2018-01-25, 02:48 AM

0

0

Unconfirmed

Minecraft 18w03b

-