{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 3,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 14,
          "name": "minecraft:shared_loot_table2"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 40,
          "quality": -2,
          "name": "minecraft:shared_loot_empty"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 20,
          "name": "minecraft:shared_loot_table3"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 16,
          "quality": 2,
          "name": "minecraft:shared_loot_table"
        }
      ]
    },
    {
      "rolls": 3,
      "bonus_rolls": {
        "min": 0.34,
        "max": 0.34
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ],
          "name": "minecraft:netherite_ingot"
        },
        {
          "type": "minecraft:item",
          "weight": 100,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ],
          "name": "minecraft:ancient_debris"
        },
        {
          "type": "minecraft:item",
          "weight": 100,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ],
          "name": "minecraft:netherite_scrap"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 2
            }
          ],
          "name": "minecraft:ancient_debris"
        },
        {
          "type": "minecraft:item",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.8,
                "max": 1
              }
            },
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:diamond_sword"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.8,
                "max": 1
              }
            },
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:diamond_chestplate"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.8,
                "max": 1
              }
            },
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:diamond_helmet"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.8,
                "max": 1
              }
            },
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:diamond_leggings"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.8,
                "max": 1
              }
            },
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:diamond_boots"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "name": "minecraft:diamond_sword"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "name": "minecraft:diamond_chestplate"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "name": "minecraft:diamond_helmet"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "name": "minecraft:diamond_boots"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "name": "minecraft:diamond_leggings"
        },
        {
          "type": "minecraft:item",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:diamond"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "quality": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ],
          "name": "minecraft:enchanted_golden_apple"
        }
      ]
    },
    {
      "rolls": {
        "min": 3,
        "max": 4,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": -2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 12,
                "max": 25,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:spectral_arrow"
        },
        {
          "type": "minecraft:item",
          "weight": 16,
          "quality": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:gold_block"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 0,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:iron_block"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 0,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:gold_ingot"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 0,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:iron_ingot"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 0,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 13,
                "max": 22,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:crying_obsidian"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": -7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 8,
                "max": 23,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:quartz"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 15,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:gilded_blackstone"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 0,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 8,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:magma_cream"
        }
      ]
    }
  ]
}
