automatic taming

Started by Snow256 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
automatic taming

I am new to using MCreator and I am creating an item that can despawn one mob and spawn another. I want that, when this other mob is spawned, it is already tamed by the player. Can someone help me with this?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could use a procedure…
Thu, 07/20/2023 - 22:54

You could use a procedure block to summon your custom entity at X Y Z

then, use the tame event/target entity by sourceentity procedure block, but place get nearest entity of type your entity at X Y Z in the first slot, and event/target entity in the second slot

 

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it worked almost perfectly…
Fri, 07/21/2023 - 00:24

it worked almost perfectly just had to change the second slot by the source entity

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm glad it was helpful
Fri, 07/21/2023 - 00:51

I'm glad it was helpful