{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 30,
                "min": 25
              },
              "options": "#nova_structures:structure/shrine_ominous"
            }
          ],
          "name": "minecraft:diamond_axe",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 25,
                "min": 15
              },
              "options": "#nova_structures:structure/shrine_ominous"
            }
          ],
          "name": "minecraft:diamond_sword",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 20,
                "min": 10
              },
              "options": "#nova_structures:structure/shrine"
            }
          ],
          "name": "minecraft:diamond_helmet",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 20,
                "min": 10
              },
              "options": "#nova_structures:structure/shrine"
            }
          ],
          "name": "minecraft:diamond_chestplate",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 20,
                "min": 10
              },
              "options": "#nova_structures:structure/shrine"
            }
          ],
          "name": "minecraft:diamond_leggings",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 35,
                "min": 20
              },
              "options": "#nova_structures:structure/shrine"
            }
          ],
          "name": "minecraft:diamond_boots",
          "weight": 5
        }
      ],
      "conditions": [
        {
          "condition": "random_chance",
          "chance": 0.5
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 20,
                "min": 10
              },
              "options": "#nova_structures:structure/overworld"
            }
          ],
          "name": "minecraft:crossbow",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 15,
                "min": 10
              },
              "options": "#nova_structures:structure/overworld"
            }
          ],
          "name": "minecraft:bow",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 20,
                "min": 10
              },
              "options": "#nova_structures:structure/shrine"
            }
          ],
          "name": "minecraft:book",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 30,
                "min": 10
              },
              "options": "#nova_structures:structure/shrine_ominous"
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 15,
                "min": 5
              },
              "options": "#nova_structures:spiteful",
              "conditions": [
                {
                  "condition": "random_chance",
                  "chance": 0.75
                }
              ]
            }
          ],
          "name": "minecraft:book",
          "weight": 5
        }
      ],
      "conditions": [
        {
          "condition": "random_chance",
          "chance": 0.75
        }
      ]
    },
    {
      "rolls": 2,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 3
              },
              "add": false
            }
          ],
          "name": "minecraft:iron_block"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 3
              },
              "add": false
            }
          ],
          "name": "minecraft:gold_block"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 5
              },
              "add": false
            }
          ],
          "name": "minecraft:iron_ingot",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "add": false
            }
          ],
          "name": "minecraft:gold_ingot",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "add": false
            }
          ],
          "name": "minecraft:emerald_block"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 4,
                "max": 8
              },
              "add": false
            }
          ],
          "name": "minecraft:wind_charge"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 30,
                "min": 10
              },
              "options": "#nova_structures:structure/shrine_ominous"
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "max": 10,
                "min": 5
              },
              "options": "#nova_structures:spiteful",
              "conditions": [
                {
                  "condition": "random_chance",
                  "chance": 0.75
                }
              ]
            }
          ],
          "name": "minecraft:book"
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "add": false
            }
          ],
          "name": "minecraft:diamond",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald_block",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:turtle_scute"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 8,
                "max": 12
              },
              "add": false
            }
          ],
          "name": "minecraft:wind_charge"
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:heavy_core",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_block",
          "weight": 8
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:guster_banner_pattern",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bolt_armor_trim_smithing_template"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_creator",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_golden_apple"
        }
      ],
      "conditions": [
        {
          "condition": "random_chance",
          "chance": 0.6
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}