Started by
Classic_Mushroom
on
Topic category: Help with Minecraft 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.
https://imgur.com/a/6tfJ9WT