Can anyone help me with a procedure?

Started by sociallyawkward on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can anyone help me with a procedure?

I would like to make a mod where when the player uses a goat horn (preferably a specific goat horn) it summons a wandering villager. I am very new to using MCreator and I think a procedure would be the way to do it but I am unsure how to do it. Any help would be appreciated. 

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There should be a global…
Sat, 05/31/2025 - 17:59

There should be a global trigger that says something like "On item use". Use that as the trigger (the green block at the beginning of every procedure).

Then do an if block as in:

If item = your goat horn (or other item)

     Then run command /summon minecraft:wandering_trader. (or use the summon block and choose the wandering trader entity).

 

-Hope I Helped! -PixelKid

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much! I very…
Sun, 06/01/2025 - 05:01

Thank you so much! I very much appreciate it!