How do you make it so when you type /switch, then hold a stick, right click on a repeater, and it changes the direction of the repeater?
you need a Set<String> for al the player hat it is enabled to you need to create an command listener you need to create an event listener for the interact event you need to see if he is in the set at the listener, and you need to see if he is right clicking on the repeator and then you need to set the data of the repeator