{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 4,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 20.0
              },
              "options": "#minecraft:non_treasure"
            }
          ],
          "weight": 10
        }
      ]
    },
    {
      "rolls": 4,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 8.0
              },
              "add": false
            }
          ],
          "weight": 20,
          "name": "minecraft:book"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 8.0
              },
              "add": false
            }
          ],
          "weight": 15,
          "name": "minecraft:paper"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 4.0
              },
              "add": false
            }
          ],
          "weight": 15,
          "name": "minecraft:candle"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 4.0
              },
              "add": false
            }
          ],
          "weight": 5,
          "name": "minecraft:ink_sac"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:writable_book"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:feather"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:amethyst_shard"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:name_tag"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:map"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:compass"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:clock"
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 100
        },
        {
          "type": "item",
          "name": "minecraft:eye_armor_trim_smithing_template",
          "weight": 1
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}