Entity format/Villager memories

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Entity format/Villager memories on the Minecraft Wiki. Mirrored from revision 3620213. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

    • [NBT Compound / JSON Object] minecraft:home: Where this villager's bed is.
      • [NBT Compound / JSON Object] value: The value of this memory.
        • [String] dimension: The dimension ID of the bed.
        • [Int Array] pos: The X, Y, and Z coordinates of the bed.
    • [NBT Compound / JSON Object] minecraft:job_site: Where this villager's job site block is.
      • [NBT Compound / JSON Object] value: The value of this memory.
        • [String] dimension: The dimension ID of the job site block.
        • [Int Array] pos: The X, Y, and Z coordinates of the job site block.
    • [NBT Compound / JSON Object] minecraft:last_slept: The game tick that the villager last slept in a bed.
      • [Long] value: The value of this memory.
    • [NBT Compound / JSON Object] minecraft:last_woken: The game tick that the villager last woke up from a bed.
      • [Long] value: The value of this memory.
    • [NBT Compound / JSON Object] minecraft:last_worked_at_poi: The game tick that the villager last worked at their job site.
      • [Long] value: The value of this memory.
    • [NBT Compound / JSON Object] minecraft:meeting_point: Where this villager's meeting point is.
      • [NBT Compound / JSON Object] value: The value of this memory.
        • [String] dimension: The dimension ID of the meeting point.
        • [Int Array] pos: The X, Y, and Z coordinates of the meeting point.
    • [NBT Compound / JSON Object] minecraft:potential_job_site: Where this villager's potential job site block is.
      • [NBT Compound / JSON Object] value: The value of this memory.
        • [String] dimension: The dimension ID of the potential job site block.
        • [Int Array] pos: The X, Y, and Z coordinates of the potential job site block.
    • [NBT Compound / JSON Object] minecraft:golem_detected_recently: If the villager has detected an iron golem recently.
      • [Boolean] value: 1 or 0 (true/false) - if true, the villager just saw an iron golem.
      • [Long] ttl: The number of game ticks before this memory is removed.

Sources