I want to make a "lightning rod" in Minecraft. I'll have a stick or something that when right-clicked, it summons lightning one block in front of player.
How can I detect a player right-clicking with a specific item in hand?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
Well..you could use a fishing rod,and test for the entity when you right click the rod. The fishing rod bobber is an entity which gets summoned when you right click the fishing rod. The bobber's entity name is "unknown". So just /testfor @e[type=Unknown] Normal items can't be tested for right click because they don't do anything. The only way to do it,it's to do it with plugins