Copying entity NBTs (and saving it in string)

Started by LeDeave on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Copying entity NBTs (and saving it in string)

Is this even possible? I was able to find copy NBT data block, but only for items. I would like to make a "mount storing item", that would save NBT data of target entity for small server I'm curating, yet I wasn't able to find such feature in MCreator or any available plugins...

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If using fabric, try […
Sun, 07/21/2024 - 08:46

If using fabric, try [(NbtCompound) Entity.writeNbt(NbtCompound nbt)]. If using forge, IDK.