VOOZH about

URL: https://minecraft.wiki/w/Point_of_Interest_format

โ‡ฑ Point of Interest format โ€“ Minecraft Wiki


Point of Interest format

From Minecraft Wiki
Jump to navigation Jump to search
This feature is exclusive to Java Edition.
 

Point of Interests are stored in the poi folder of respective dimension folders. It is stored like Minecraft Anvil format files, which are named in the form r.x.z.mca.

Folder structure

[edit | edit source]
  • (world save directory)
    • poi
      • r.x.z.mca
    • DIM-1
      • poi
        • r.x.z.mca
    • DIM1
      • poi
        • r.x.z.mca

NBT structure

[edit | edit source]

Every point of interest is an unnamed [NBT Compound / JSON Object] compound contained in the Records list of a chunk file.

  • [NBT Compound / JSON Object] The root tag.
    • [Int] DataVersion: Version of the chunk data.
    • [NBT Compound / JSON Object] Sections: All chunk sections. One chunk section is an area of 16ร—16ร—16 blocks.
      • [NBT Compound / JSON Object] <section>[1]: A section of a chunk holding point of interest data related to that section.
        • [Byte] Valid: 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.
        • [NBT List / JSON Array] Records: A list of all point of interest blocks in the section.
          • [NBT Compound / JSON Object]: A point of interest block.
            • [String] type: Defines what type of point of interest this is. It is always one of the following: minecraft:armorer, minecraft:bee_nest, minecraft:beehive, minecraft:butcher, minecraft:cartographer, minecraft:cleric, minecraft:farmer, minecraft:fisherman, minecraft:fletcher, minecraft:home, minecraft:leatherworker, minecraft:librarian, minecraft:lightning_rod, minecraft:lodestone, minecraft:mason, minecraft:meeting, minecraft:nether_portal, minecraft:shepherd, minecraft:toolsmith, minecraft:weaponsmith, or minecraft:test_instance.
            • [Int] free_tickets: The number of entities that can claim this point of interest block. Value decreases / increases by 1 for each entity that claims / loses the point of interest block.
            • [Int Array] pos: The point of interest blocks position in the world.
              • [Int]: X coordinate.
              • [Int]: Y coordinate.
              • [Int]: Z coordinate.

History

[edit | edit source]
Java Edition
1.1419w11aAdded point of interest system. Valid point of interest types for this version are:
minecraft:armorer, minecraft:butcher, minecraft:cartographer, minecraft:cleric, minecraft:farmer, minecraft:fisherman, minecraft:fletcher, minecraft:home, minecraft:leatherworker, minecraft:librarian, minecraft:mason, minecraft:meeting, minecraft:shepherd, minecraft:toolsmith, minecraft:weaponsmith.
1.14 Pre-Release 1Changed the point of interest format. Renamed the <section>[1] list to Records and moved it into a TAG_Compound named <section>[1] instead along with a Valid TAG_Byte, which is in a Sections TAG_Compound itself, and added DataVersion to the root compound.
1.1519w34aAdded point of interest types minecraft:bee_nest and minecraft:bee_hive.
19w36aAdded point of interest type minecraft:nether_portal.
19w41aRenamed point of interest type minecraft:bee_hive to minecraft:beehive.
1.1620w13aAdded point of interest type minecraft:lodestone.
1.1720w45aAdded point of interest type minecraft:lightning_rod.
1.21.625w16aAdded point of interest type minecraft:test_instance.

References

[edit | edit source]
  1. โ†‘ a b c "<section>" is a variable which is equal to the chunk sections Y value. i.e: "0"

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Point_of_Interest_format?oldid=3478768"

Navigation menu