Food eaten and entity spawning and taming problem.

Started by ILikeMakingMods2103 on

Topic category: Help with modding (Java Edition)

Last seen on 22:48, 25. Mar 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Food eaten and entity spawning and taming problem.
Tue, 11/02/2021 - 20:44 (edited)

I want to make it so when the player consumes a custom food, it spawns an entity and that entity gets instantly tamed, but the problem is that the "When Food Eaten" doesn´t support the Source Entity dependency in the "Tame Event/Target entity by Source Entity" block. 

How do I make this?

Thank you for your time.

Edited by ILikeMakingMods2103 on Tue, 11/02/2021 - 20:44
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe commands? summoning…
Tue, 11/02/2021 - 21:32

maybe commands? summoning the entity with NBT of tamed

Last seen on 15:46, 28. Mar 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When food eaten = spawn mob…
Wed, 11/03/2021 - 06:17

When food eaten = spawn mob

When mob join the world or player tick update chose what you prefer  Tame get nearest entity or just entity

 

Last seen on 22:48, 25. Mar 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That seems like a good…
Sat, 11/06/2021 - 03:28

That seems like a good option, thanks for the tip woodcreatures. I didn´t think of commands cuz I don´t know how to use them in mcreator.