Entity format/Piglin memories

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Entity format/Piglin memories on the Minecraft Wiki. Mirrored from revision 3620196. 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:admiring_disabled: Piglins with this tag do not barter by right-clicking and are not distracted by gold items on the ground; set when converting, when attacked or when admiring an item.
      • [Boolean] value: 1 or 0 (true/false) - if true, admiring is disabled.
      • [Long] ttl: The number of game ticks before this memory is removed.
    • [NBT Compound / JSON Object] minecraft:admiring_item: If the piglin is admiring an item.
      • [Boolean] value: 1 or 0 (true/false) - if true, admiring an item.
      • [Long] ttl: The number of game ticks before this memory is removed, the piglin throws back another item when this reaches 0, if it held a gold ingot.
    • [NBT Compound / JSON Object] minecraft:angry_at: The target of this piglin. Set after a piglin or piglin brute is attacked.
      • [Int Array] value: Universally Unique IDentifier of the entity that the piglin targets, stored as four ints.
      • [Long] ttl: The number of game ticks before this memory is removed.
    • [NBT Compound / JSON Object] minecraft:hunted_recently: If the piglin just hunted, and as such, don't hunt for a while. Set after hunting or spawning as part of a bastion remnant during world generation.
      • [Boolean] value: 1 or 0 (true/false) - if true, the piglin just hunted and cannot hunt.
      • [Long] ttl: The number of game ticks before this memory is removed.
    • [NBT Compound / JSON Object] minecraft:universal_anger: If the piglin is being universally angered. Only set when universal anger gamerule is enabled.
      • [Boolean] value: 1 or 0 (true/false) - if true, universally angered.
      • [Long] ttl: The number of game ticks before this memory is removed.

Sources