As the title says, I would like detecting right clicks. I have already tried spawning a slime that teleports to the player's head but I don't know how I would build the syntax. How can I do this?

  • You could do this one a minecraft server with plugins, but I don't think this is the senioro
    – Roke
    Aug 18, 2016 at 14:15

1 Answer 1


Well, you could use the scoreboard objectives for stat.useItem. You would have to have a test for command block and objective for every item that the player would use to left click, however.

  • Sorry, I meant right click, some dude edited my post do it said left click, but i mean right.
    – Baboom1
    Sep 29, 2016 at 0:49
  • 1
    @Baboom1 Your original post said left clicks, Rudolf L. Jelínek did not change that.
    – SirBenet
    Sep 29, 2016 at 7:30

Not the answer you're looking for? Browse other questions tagged .