{
  "type": "minecraft:chest",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "loot_table",
          "value": "academy:basic/t3",
					"weight": 10
        },
				{
          "type": "loot_table",
          "value": "academy:basic/t4",
					"weight": 2
        },
				{
          "type": "loot_table",
          "value": "academy:basic/t5",
					"weight": 1
        }
      ],
      "rolls": {
          "type": "minecraft:uniform",
          "max": 1.0,
          "min": 1.0
        }
    },
    {
      "rolls": 4,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald",
		      "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 3.0,
                "min": 2.0
              },
              "function": "minecraft:set_count"
            }
          ],
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
		      "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 4.0,
                "min": 3.0
              },
              "function": "minecraft:set_count"
            }
          ],
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_ingot",
		      "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 4.0,
                "min": 3.0
              },
              "function": "minecraft:set_count"
            }
          ],
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:amethyst_shard",
		      "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 2.0,
                "min": 1.0
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "effects": [
                {
                  "type": "minecraft:night_vision",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 10.0,
                    "min": 7.0
                  }
                },
                {
                  "type": "minecraft:jump_boost",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 10.0,
                    "min": 7.0
                  }
                },
                {
                  "type": "minecraft:weakness",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 8.0,
                    "min": 6.0
                  }
                },
                {
                  "type": "minecraft:blindness",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 7.0,
                    "min": 5.0
                  }
                },
                {
                  "type": "minecraft:poison",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 20.0,
                    "min": 10.0
                  }
                },
                {
                  "type": "minecraft:saturation",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 10.0,
                    "min": 7.0
                  }
                }
              ],
              "function": "minecraft:set_stew_effect"
            }
          ],
          "name": "minecraft:suspicious_stew"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:beetroot"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:dark_oak_sapling",
		      "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 3.0,
                "min": 1.0
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:name_tag"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:red_candle",
		      "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 3.0,
                "min": 1.0
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 200
        },
        {
          "type": "item",
          "name": "minecraft:sentry_armor_trim_smithing_template"
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}