(SOLVED) Save the location of mobs and load these mobs to the saved position?

Started by ImSeyo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) Save the location of mobs and load these mobs to the saved position?
Mon, 06/03/2024 - 16:45 (edited)

Is it possible to save the location of certain mobs and load these mobs into the saved position?

I made the interface, added two buttons "Save" and "Upload". By clicking on the "Save" button, my specific mobs will be saved, and by clicking on "Upload", those mobs that were saved will appear in the same place where they were.

I tried to do it myself, but I couldn't do anything, for me this is the most difficult part of my mod.


I agree, it sounds complicated. Maybe variables are needed here, right?

Edited by ImSeyo on Mon, 06/03/2024 - 16:45
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was able to bring my idea…
Mon, 06/03/2024 - 16:45

I was able to bring my idea to life thanks to my own code. Of course, I'm not a programmer, so I used Chat GPT. I had to spend ~19 hours on this. It's easier to learn Java than to persuade GPT to stop making mistakes