The bug
The water and lava "level" blockstate is reversed when identifying them using commands.
Steps to reproduce
Place a water source
Stand inside the water block next to the source
Run the following command: execute if block ~ ~ ~ water[level=7]
If done correctly, this command should fail. If identified through the debug ui however, the information correctly shows that the water level is in fact 7. Now repeat the steps listed above but stand at the last water block flowing out of the source. If done correctly, the command should succeed.
Linked issues
is duplicated by 1
Attachments
Comments 7
Ah, thank you. I was looking at still water the whole time, haha. Technically that is a fluid state rather than a block state... at this time they should probably match, but I think the eventual full separation of fluids would make this report obsolete. Anyway, might as well leave it open in the meantime.
Relates to MC-58119.