Add Is Underwater Procedure

Upvotes: 0
Issue description

Add a is under water procedure that when used with a custom block, starts the air bubble counter whenever the player / entities head in inside the block if it is set to trigger on collision.

i tried using the current procedures built in to make it suffocate the player or a entity if their head was in collision with the block but a non solid block in above their head, but it was very glitchy and damaged the player when their head was above in pools more than 2 blocks deep and didn't work at all properly.

Issue comments

Submitted by Klemen on Wed, 03/13/2019 - 18:36

I have checked the code and I did not find a way to simulate entity to trick it to be underwater when it is in fact not. If we find a way we will consider adding this.

Add a procedure block, When collid with block =[choose your block]