Entity format/Container entity

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Entity format/Container entity on the Minecraft Wiki. Mirrored from revision 2832382. 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 List / JSON Array] Items: List of items.
    • [String] LootTable: Optional. Loot table to be used to fill the entity's container when it is next opened, or the items are otherwise interacted with. Both LootTable and LootTableSeed are removed once the items have been generated.
    • [Long] LootTableSeed: Optional. Seed for generating the loot table. 0 or omitted uses a random seed.

Sources