Add a procedure to check if a player or entities head is within a block

Status
Works as designed
Product/platform
Not applicable
Priority
Normal
Issue description

add a procedure that triggers if only the head of the player or certain entity or entities are within a block

this procedure would be used with a suffocation procedure to check if a player is in a custom poison gas block and start suffocating them if their head was inside it.

Issue comments

You can do this by checking if the block on the entity location + 1 is not air, which can be done with procedures.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.