do procedure with specific item in hand

Started by Lqe on Sat, 04/04/2020 - 23:20

Topic category: Help with modding

Last seen on 23:06, 5. May 2020
Joined Mar 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
do procedure with specific item in hand
Sat, 04/04/2020 - 23:20

im trying to make a block do a procedure only when the player has a certain item in their main hand

my code in side the block

https://cdn.discordapp.com/attachments/543979419140620302/696136871369113600/unknown.png

Last seen on 23:58, 25. May 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Get an item in main hand…
Fri, 04/10/2020 - 23:40

Get an item in main hand block, put it in the first slot of a beige equals block and put a minecraft component with that knifey thing in it. Replace the has provided enitity got ____ in inventory with that.