top of page

Get a command block: /give @p command_block

Put this in chat: /scoreboard objectives add left dummy

Repeating Command Block: /scoreboard players set @a left 1 {Inventory:[{Slot:-106b,tag:{display:{Name:"Cool Thing"}}}]}

Chain Command Block: /execute @a[score_left_min=1] ~ ~ ~ YOUR COMMAND

Last Chain Command Block: /scoreboard players reset @a left 

bottom of page