#how do you detect hit clicks with an item?
1 messages · Page 1 of 1 (latest)
For left clicks, there are two events you probably want to add.
EntityHitEntityAfterEvent
EntityHitBlockAfterEvent
I haven't done much testing on these, can I cancel hitting block in after event? So it acts like player in adventure mode?
you can't cancel in afterEvents
Okay only beforeEvent thing