#Verify the item on player's main hand when right click

7 messages · Page 1 of 1 (latest)

dusk dove
#

How to verify the item on player's main hand when right click a specific block and remove it if it's the expected type.

strong scarabBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

open raptor
#

There are events for Block and Item right clicking, in that event is event.item which is the held item

#

and event.block which is the block being clicked

#

It really depends on what your end goal is, what the items / blocks are and how you're intending to do it.

#

If you want to get more specific, I can do the same.

dusk dove
#

thank you, I was using the wrong event