Villages.dat format

From Minecraft Wiki
Jump to: navigation, search
This article is a stub.
Please help us by expanding it.

The villages.dat file located in the data folder of every Minecraft level is used to store information about the villages in the level. It is stored as a GZip'd NBT file.

[edit] NBT Structure

  • Nbtsheet.png: The root tag.
    • Nbtsheet.png data
      • Nbtsheet.png Tick: Internal clock.
      • Nbtsheet.png Villages: List of Byte tags when empty, list of Compound tags otherwise.
        • Nbtsheet.png: A village.
          • Nbtsheet.png ACX: Aggregate of the x-coordinates of all houses.
          • Nbtsheet.png ACY: Aggregate of the y-coordinates of all houses.
          • Nbtsheet.png ACZ: Aggregate of the z-coordinates of all houses.
          • Nbtsheet.png CX: X coordinate of the village center.
          • Nbtsheet.png CY: Y coordinate of the village center.
          • Nbtsheet.png CZ: Z coordinate of the village center.
          • Nbtsheet.png Golems: The number of Iron Golems.
          • Nbtsheet.png MTick: Last time a villager was killed by a mob, or by a damage source that's not related to an entity while a player was nearby.
          • Nbtsheet.png PopSize: The number of Villagers.
          • Nbtsheet.png Radius: Radius of the village.
          • Nbtsheet.png Stable: Last time a house was added to the village.
          • Nbtsheet.png Tick: Internal clock.
          • Nbtsheet.png Doors: The doors in the village.
            • Nbtsheet.png: A door.
              • Nbtsheet.png IDX: Specifies the inside direction along x.
              • Nbtsheet.png IDZ: Specifies the inside direction along z.
              • Nbtsheet.png TS: Last time a villager was nearby.
              • Nbtsheet.png X: X coordinate.
              • Nbtsheet.png Y: Y coordinate.
              • Nbtsheet.png Z: Z coordinate.
          • Nbtsheet.png Players: List of Byte tags when empty, list of Compound tags otherwise.
            • Nbtsheet.png: A player who has traded or harmed villagers.
              • Nbtsheet.png Name: The name of the player.
              • Nbtsheet.png S: The social rank of the player. Can be negative. Goes up with trading and down with harming villagers.


Personal tools
Namespaces
Variants
Actions
Minecraft Wiki
Minecraft
Useful pages
Toolbox
In other languages

Recent Community Articles

Mojang Tweets

    Getting your tweets...
Become a Premium Member!