Started by
SuperGojira
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! Im working on a mod and I need help making an item that summons a tamed mob when right clicked with the item.
I tried a procedure with "Spawn entity: (entity) at x: (x) y: (y) z: (z)" and then after that "Tame (entity) by (player)" but it is missing dependencies when it try to put it in the "right click (entity pos.)" trigger.
Im on MCreator 2025.3 using the Forge 1.20.1 generator plugin, please help!
Use entity iterator. Within world, actions, get each entity as entity iterator at x y z in cube 5 or so. Then use an if entity iterator is the same entity as [your custom entity you want to tame] then tame entity iterator by event target entity.
I would like to see a screenshot or something similar
https://mcreator.net/comment/306773#comment-306773
Nothing works, none of the options