#right click detections
1 messages · Page 1 of 1 (latest)
I would do it like this (with an ender eye):
when you hold right-click a score(ex. r_hold) gets 1 added. When this is not 0 you also check every tick to see if it has the same value as in the previous tick. If yes set the score back to 0. To trigger the special attack the r_hold score has to reach a set value (5 seconds => 100 ticks)
ender eyes only work in worlds without strongholds tho