{
    "tile_processors": [
        {
            "type": "reference",
            "id": "the_vault:treasure_rooms/treasure_chest"
        },
        {
            "type": "leveled",
            "levels": [
                {
                    "level": 0,
                    "type": "weighted_target",
                    "target": "minecraft:white_wool",
                    "output": {
                        "minecraft:air": 100,
                        "the_vault:cardboard_box[facing=east,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,

                        "the_vault:cardboard_box[facing=east,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1
                    }
                }
            ]
        },
        {
            "type": "leveled",
            "levels": [
                {
                    "level": 0,
                    "type": "weighted_target",
                    "target": "minecraft:green_wool",
                    "output": {
                        "minecraft:air": 100,
                        
                        "the_vault:cardboard_box[facing=east,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=true]{LootTable:\"the_vault:cardboard_box\"}": 1,

                        "the_vault:cardboard_box[facing=east,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=true]{LootTable:\"the_vault:cardboard_box_dull\"}": 1
                    }
                }
            ]
        },
        {
            "type": "leveled",
            "levels": [
                {
                    "level": 0,
                    "type": "weighted_target",
                    "target": "minecraft:lime_wool",
                    "output": {
                        "the_vault:cardboard_box[facing=east,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=false]{LootTable:\"the_vault:cardboard_box\"}": 1,

                        "the_vault:cardboard_box[facing=east,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=east,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=west,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=north,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=1,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=2,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=3,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1,
                        "the_vault:cardboard_box[facing=south,color=4,open=false]{LootTable:\"the_vault:cardboard_box_dull\"}": 1
                    }
                }
            ]
        },
        {
            "type": "placeholder",
            "target": "COIN_STACKS",
            "levels": [
                {
                    "level": 0,
                    "probability": 0.5,
                    "success": {
                        "the_vault:coin_pile[size=5,treasure=true,waterlogged=false]{LootTable:\"the_vault:coin_pile_treasure\"}": 1,
                        "the_vault:coin_pile[size=6,treasure=true,waterlogged=false]{LootTable:\"the_vault:coin_pile_treasure\"}": 1,
                        "the_vault:coin_pile[size=7,treasure=true,waterlogged=false]{LootTable:\"the_vault:coin_pile_treasure\"}": 1
                    },
                    "failure": {
                        "minecraft:air": 1
                    }
                }
            ]
        },
        {
            "type": "leveled",
            "levels": [
                {
                    "type": "weighted_target",
                    "level": 0,
                    "target": "minecraft:orange_wool",
                    "output": {
                        "minecraft:air": 3,
                        "the_vault:coin_pile[size=1,treasure=false,waterlogged=false]{LootTable:\"the_vault:coin_pile_lvl30\"}": 25,
                        "the_vault:coin_pile[size=2,treasure=false,waterlogged=false]{LootTable:\"the_vault:coin_pile_lvl30\"}": 25,
                        "the_vault:coin_pile[size=3,treasure=false,waterlogged=false]{LootTable:\"the_vault:coin_pile_lvl30\"}": 25
                    }
                }
            ]
        },
        {
            "type": "template_stack_tile",
            "target": "@the_vault:vault_lootables",
            "stack": [
                "STRUCTURE_TREASURE_ROOM"
            ]
        }
    ]
}