Started by Classic_Mushroom on Sat, 02/27/2021 - 01:10
Topic category: Help with modding (Java Edition)
I don't want to reveal much about my mod, only that I need to have that when I right-click with my item in hand it spawns a pig. The code I did for this to happen is that if a player right-clicks with this item in hand, it would enter out the command /summon minecraft:pig in the name of Event/Target Entity (I didn't add anything for the Event/Target Entity). Any help, I just started an hour ago.
You realize there is a spawn command in mcreator, here are some screenshots.