#block location

1 messages · Page 1 of 1 (latest)

thorn cloud
#

I am just trying to check if a player clicked on a specific block at a specific location, but it doesn't work. I have no idea why.

on left click on sea lantern:
    distance between player's eyes and target block of player is less than 4
    broadcast "y"
    if location of event-block is location(36, 1, 21):
        broadcast "yeah!"

when I click on the right block, it says "y" but not "yeah!" even though the block is at the location 36, 1, 21

#

ugh I think I fixed it you gotta say if location of event-block is block at location...

#

skript syntax smh xD

remote yew
#

so 36.5, 1.5, and 21.5 since that's where the center of the block is