Entity keeping it's data after being replaced

Started by Paleonerd on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity keeping it's data after being replaced

So I've made 2 different entities that get replaced with another entity at a certain point. I've wanted to try and use NBTs to make sure all the data(the name, if they're leashed, etc.) from the previous entity stay on the current one. The only problem with that is i don't know how to. Any help?