{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {"min": 3.0, "max": 7.0, "type": "minecraft:uniform"},
      "entries": [
        {
          "name": "minecraft:iron_ingot",
          "type": "minecraft:item",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 4.0, "max": 15.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:gold_ingot",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 3.0, "max": 10.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:emerald",
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 3.0, "max": 8.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:diamond",
          "type": "minecraft:item",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 2.0, "max": 5.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:experience_bottle",
          "type": "minecraft:item",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 2.0, "max": 5.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:book",
          "type": "minecraft:item",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 28.0,
                "max": 40.0,
                "type": "minecraft:uniform"
              },
              "treasure": true
            }
          ]
        },
        {
          "name": "minecraft:dragon_breath",
          "type": "minecraft:item",
          "weight": 5
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {"type": "minecraft:empty", "weight": 19},
        {
          "name": "customizableelytra:customizable_elytra",
          "type": "minecraft:item",
          "weight": 1
        }
      ]
    },
    {
      "rolls": {"min": 2.0, "max": 5.0, "type": "minecraft:uniform"},
      "entries": [
        {
          "name": "minecraft:iron_nugget",
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 6.0, "max": 20.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:gold_nugget",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 6.0, "max": 20.0, "type": "minecraft:uniform"}
            }
          ]
        },
        {
          "name": "minecraft:lapis_lazuli",
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {"min": 6.0, "max": 20.0, "type": "minecraft:uniform"}
            }
          ]
        }
      ]
    },
    {
      "rolls": 0,
      "bonus_rolls": 1,
      "entries": [
        {
          "name": "minecraft:pink_banner",
          "type": "minecraft:item",
          "weight": 1,
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
            }
          ]
        },
        {"type": "minecraft:empty", "weight": 12},
        {
          "name": "minecraft:experience_bottle",
          "type": "minecraft:item",
          "weight": 4,
          "functions": [{"function": "minecraft:set_count", "count": 2}]
        },
        {
          "name": "minecraft:black_banner",
          "type": "minecraft:item",
          "weight": 4,
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{BlockEntityTag:{Patterns:[{Pattern:flo,Color:10},{Pattern:flo,Color:2},{Pattern:flo,Color:15},{Pattern:bt,Color:9},{Pattern:tt,Color:9},{Pattern:bo,Color:10},{Pattern:bs,Color:15},{Pattern:ts,Color:15},{Pattern:cbo,Color:10},{Pattern:cbo,Color:15},{Pattern:bo,Color:2},{Pattern:bo,Color:15}]}}"
            }
          ]
        }
      ]
    }
  ]
}
