Procedure Help - Spawn item when block is right clicked with a specific item in main hand

Started by CeresAwen on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure Help - Spawn item when block is right clicked with a specific item in main hand

Hey all,

I'm making a plant mod and right now I'm working on a procedure to farm plants. I have a trigger set to block right clicked. The procedure needs to check for the item bonemeal in the player's main hand, and if so, spawn seeds. 

Here is what my procedure looks like so far:

Procedure

However, nothing at all happens when I tested it. I tried messing with a few different things but now I'm stumped.

I also need it to remove one bonemeal from the player's inventory, but I haven't added that yet.

What am I doing wrong? Any help would be greatly appreciated! Thanks