Hello, I need to do the following, let's assume that there are two signs and one has written [Yes] and the other [No], what I want is to detect when someone touches the signal that says [Yes]
Get the position of the two signs On PlayerInteractEvent, Check if $event->getBlock() is instance of sign Then check if the block's x, y, and z are equals to the position of the signs Not sure if this will work but On PlayerInteractEvent, check if the item clicked is instance of Sign And if it is then get the line of the sign and check if it "[Yes]" or "[No]"