I need a mob when it spawns, record its spawn position

Started by Lucca Bitencourt on Wed, 10/05/2022 - 01:12

Topic category: Help with modding (Java Edition)

Last seen on 00:34, 17. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I need a mob when it spawns, record its spawn position
Wed, 10/05/2022 - 01:12
im creating a mod in which I have a mob that I want when the time is right,
it will return to the initial spawn location, but I don't know how to do this,
I thought about saving the location in the form of tags,
but maybe there's a way easier to do this.