{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "minecraft:chests/buried_treasure",
          "weight": 1
        },
        {
          "type": "minecraft:loot_table",
          "name": "minecraft:chests/underwater_ruin_big",
          "weight": 9
        },
        {
          "type": "minecraft:loot_table",
          "name": "minecraft:chests/underwater_ruin_small",
          "weight": 22
        },
        {
          "type": "minecraft:loot_table",
          "name": "minecraft:chests/simple_dungeon",
          "weight": 45
        },
        {
          "type": "minecraft:loot_table",
          "name": "minecraft:chests/shipwreck_supply",
          "weight": 55
        }
      ]
    },
    {
      "rolls": {
        "min": 1.0,
        "max": 3.0,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "name": "minecraft:music_disc_wait",
          "type": "minecraft:item",
          "weight": 2
        },
        {
          "name": "minecraft:music_disc_mall",
          "type": "minecraft:item",
          "weight": 2
        },
        {
          "name": "minecraft:nautilus_shell",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3.0,
                "max": 6.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:name_tag",
          "type": "minecraft:item",
          "weight": 5
        },
        {
          "name": "minecraft:prismarine_crystals",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 2.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:prismarine_shard",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 6.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 0,
      "bonus_rolls": 1,
      "entries": [
        {
          "name": "minecraft:pink_banner",
          "type": "minecraft:item",
          "weight": 20,
          "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": 360
        },
        {
          "name": "minecraft:black_banner",
          "type": "minecraft:item",
          "weight": 92,
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{BlockEntityTag:{Patterns:[{Pattern:mr,Color:11},{Pattern:flo,Color:11},{Pattern:flo,Color:15},{Pattern:tts,Color:15},{Pattern:tts,Color:15},{Pattern:tts,Color:11},{Pattern:bts,Color:15},{Pattern:bts,Color:15},{Pattern:bts,Color:11},{Pattern:cbo,Color:7},{Pattern:bo,Color:11},{Pattern:cbo,Color:15}]}}"
            }
          ]
        },
        {
          "name": "minecraft:music_disc_11",
          "type": "minecraft:item",
          "weight": 132
        },
        {
          "name": "minecraft:name_tag",
          "type": "minecraft:item",
          "weight": 176
        }
      ]
    }
  ]
}
