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
Recordsare 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.
- type: Defines what type of POI this is. It is always one of the following:
- 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.
- A point of intrest block.
- Vaild: 1 or 0 (true/false) - Most often true. If the value is false, the entries in
- <section>[1]: Contains POI data for this section.