{
    "type": "minecraft:chest",
    "pools": [
      {
        "bonus_rolls": 0,
        "entries": [
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": {
                  "type": "minecraft:uniform",
                  "max": 5,
                  "min": 1
                },
                "function": "minecraft:set_count"
              }
            ],
            "name": "minecraft:iron_ingot",
            "weight": 90
          },
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": {
                  "type": "minecraft:uniform",
                  "max": 5,
                  "min": 1
                },
                "function": "minecraft:set_count"
              }
            ],
            "name": "minecraft:gold_ingot",
            "weight": 10
          },
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": {
                  "type": "minecraft:uniform",
                  "max": 5,
                  "min": 1
                },
                "function": "minecraft:set_count"
              }
            ],
            "name": "minecraft:emerald",
            "weight": 40
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:diamond",
            "weight": 5
          },
          {
            "type": "minecraft:item",
            "name": "thermal:ruby",
            "weight": 5
          }
        ],
        "rolls": {
          "type": "minecraft:uniform",
          "max": 6,
          "min": 3
        }
      },
      {
        "bonus_rolls": 0,
        "entries": [
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": {
                  "type": "minecraft:uniform",
                  "max": 3,
                  "min": 1
                },
                "function": "minecraft:set_count"
              }
            ],
            "name": "kubejs:infused_iron_nugget",
            "weight": 20
          },
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": {
                  "type": "minecraft:uniform",
                  "max": 2,
                  "min": 1
                },
                "function": "minecraft:set_count"
              }
            ],
            "name": "kubejs:enchanting_rune",
            "weight": 6
          },
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": {
                  "type": "minecraft:uniform",
                  "max": 10,
                  "min": 1
                },
                "function": "minecraft:set_count"
              }
            ],
            "name": "minecraft:lapis_lazuli",
            "weight": 20
          }
        ],
        "rolls": {
          "type": "minecraft:uniform",
          "max": 5,
          "min": 2
        }
      },
      {
        "bonus_rolls": 0,
        "entries": [
          {
            "type": "minecraft:item",
            "name": "kubejs:mossy_sword",
            "weight": 5
          },
          {
            "type": "minecraft:item",
            "functions": [
              {
                "add": false,
                "count": 2,
                "function": "minecraft:set_count"
              }
            ],
            "name": "minecraft:coast_armor_trim_smithing_template"
          }
        ],
        "rolls": 1
      }
    ],
    "random_sequence": "minecraft:chests/shipwreck_treasure"
  }