Hey all,
I've been recently trying to figure out how to check the region of a player who enters water. Right now I have this:
I would prefer to not use on any movement to spare resources so I also tried something like this.
Nothing I have tried works so far.
Help would be greatly appreciated!
Thank you.
I've been recently trying to figure out how to check the region of a player who enters water. Right now I have this:
Code:
on any movement:
if block above the block below player is water:
if block below region "pk1-aqua-w1":
message "&8&lCrazed Man: &r&aThis is water"
I would prefer to not use on any movement to spare resources so I also tried something like this.
Code:
on walking on water:
if block above the block below player is water:
set block above the block below player to {watertest}
if region at {watertest} contains "pk1-aqua-w1":
message "&8&lCrazed Man: &r&aThis is water"
Nothing I have tried works so far.
Help would be greatly appreciated!
Thank you.