How do i make an item that summons a tamed mob?

Started by SuperGojira on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make an item that summons a tamed mob?

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!

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use entity iterator. Within…
Thu, 04/09/2026 - 19:04

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.

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would like to see a…
Sat, 04/11/2026 - 17:58

I would like to see a screenshot or something similar

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nothing works, none of the…
Thu, 04/16/2026 - 10:35

Nothing works, none of the options