Solved How to detect when a player right click with an item.

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

DruideMante

New member
Feb 24, 2023
5
0
1
I'm working on a plugin that add custom block. But for that i need to detect when a player right click with a specific to destroy a block. How can i do that ?