Command Blocks: Right click detection

by Wiam   Last Updated July 11, 2019 19:14 PM

I am trying to make it so lets say someone clicks on a carrot on a stick it'll shoot a fireball, however an issue I run into is that if someone else is also holding the carrot on a stick or is nearby the fireball will also fire for them, any way I can make an ability more direct towards the person who clicked rather than anyone in the area? What's the best way to go about abilities and right click detection and getting the player who actually clicked?

Tags : minecraft


Related Questions


Updated November 26, 2017 06:14 AM

Updated March 16, 2019 12:14 PM

Updated December 27, 2017 04:14 AM

Updated August 20, 2019 13:14 PM