Command Blocks: Right click detection

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

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

How to make a map

Updated December 27, 2017 04:14 AM