{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "irons_spellbooks:magic_items/basic_curios"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.25
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:bundle",
          "functions": [
            {
              "function": "minecraft:set_contents",
              "component": "minecraft:bundle_contents",
              "entries": [
                {
                  "type": "minecraft:item",
                  "name": "minecraft:emerald",
                  "functions": [
                    {
                      "function": "minecraft:set_count",
                      "count": {
                        "min": 42,
                        "max": 56
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:permafrost_shard"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:spyglass"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:epic_ink"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:goat_horn",
          "functions": [
            {
              "function": "minecraft:set_instrument",
              "options": "#irons_spellbooks:fog_horn"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:paper",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 27,
                "max": 35
              }
            }
          ]
        }
      ]
    }
  ]
}
