I can't find NBT block location

Started by gamerat on Sat, 04/17/2021 - 21:43

Topic category: Help with modding (Java Edition)

Last seen on 21:14, 6. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can't find NBT block location
Sat, 04/17/2021 - 21:43

I want to be able to assign "homes" to different entities. I don't think variables will work because they effect every entity / block. I want to have each entity of a certain type to place down an NBT block and have it's X, Y and Z coords saved to the entity for it to teleport back to at night time (or even better pathfind to it, but that's for a different forum lol.) I don't know how I can get the coords of the NBT block without using variables, which, as I said, won't work.