Skip to content

POI Format

Byte order

Point of Interest data is stored in Big Endian byte order.

NBT structure

  • The root tag.
    • DataVersion: Version of the POI NBT structure.
    • Sections: Each CompoundTag is a section of a chunk holding POI data for that section.
      • <section>[1]: Contains POI data for this section.
        • Vaild: 1 or 0 (true/false) - Most often true. If the value is false, the entries in Records are removed and the value is set back to true when the chunk is loaded the next time.
        • Records: Each CompoundTag is a point of interest block.
          • A point of intrest block.
            • type: Defines what type of POI this is. It is always one of the following: minecraft:armorer, minecraft:bee_nest (1.15+ Only), minecraft:beehive (1.15+ Only), minecraft:butcher, minecraft:cartographer, minecraft:cleric, minecraft:farmer, minecraft:fisherman, minecraft:fletcher, minecraft:home, minecraft:leatherworker, minecraft:librarian, minecraft:lightning_rod (1.17+ Only), minecraft:lodestone (1.16+ Only), minecraft:mason, minecraft:meeting, minecraft:nether_portal (1.15+ Only), minecraft:shepherd, minecraft:toolsmith, minecraft:weaponsmith.
          • free_tickets: The number of villagers that can claim this POI block. Value decreases by 1 for each villager that claims the POI block.
          • pos: The POIs position in the world.
            • X coordinate.
            • Y coordinate.
            • Z coordinate.

Notes

  1. The sections Y value. A value between 0 and 15 or between -4 and 19 for 1.18+.

Contributors

The avatar of contributor named as BJTMastermind BJTMastermind
The avatar of contributor named as Dexrn ZacAttack Dexrn ZacAttack

Changelog

Contributors



Documentation page was setup by DexrnZacAttack.


Documentation is licensed under Creative Commons CC-BY 4.0 unless otherwise noted. For more info, check the NOTICE file.