{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:long_water_breathing"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:wet_sponge",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_block",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:nautilus_shell",
          "weight": 8
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:turtle_helmet",
          "weight": 6
        },
        {
          "type": "minecraft:item",
          "name": "book",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_axe",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_helmet",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_chestplate",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_leggings",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_boots",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_golden_apple",
          "weight": 6
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_block",
          "weight": 6
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald_block",
          "weight": 4
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "name": "",
          "weight": 30
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#nova_structures:structure/underwater"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:tide_armor_trim_smithing_template",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:heart_of_the_sea",
          "weight": 5
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_wait",
          "weight": 15
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_mellohi",
          "weight": 15
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "name": "",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#nova_structures:structure/underwater"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:trident",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}