Started by
Marmations
on
Topic category: Help with Minecraft modding (Java Edition)
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
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.