do procedure with specific item in hand

Started by Lqe on

Topic category: Help with modding (Java Edition)

Last seen on 00:25, 16. Mar 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do procedure with specific item in hand

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 10:54, 17. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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.