{
  "type": "minecraft:chest",
  "random_sequence": "repurposed_structures:chests",
  "pools": [
    {
      "rolls": {
        "type": "minecraft:uniform",
        "max": 10.0,
        "min": 4.0
      },
      "bonus_rolls": 0.0,
      "entries": [
        {
          "name": "minecraft:suspicious_stew",
          "type": "minecraft:item",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_stew_effect",
              "effects": [
                {
                  "type": "minecraft:fire_resistance",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 120.0,
                    "min": 20.0
                  }
                },
                {
                  "type": "minecraft:weakness",
                  "duration": {
                    "type": "minecraft:uniform",
                    "max": 90.0,
                    "min": 30.0
                  }
                }
              ]
            },
            {
              "function": "minecraft:set_count",
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 6.0,
                "min": 2.0
              }
            }
          ]
        },
        {
          "name": "minecraft:golden_carrot",
          "type": "minecraft:item",
          "weight": 1,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 10.0,
                "min": 1.0
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "name": "mysticalagriculture:glowstone_essence",
          "type": "minecraft:item",
          "weight": 1,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 13.0,
                "min": 3.0
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "name": "mysticalagriculture:obsidian_essence",
          "type": "minecraft:item",
          "weight": 2,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 12.0,
                "min": 3.0
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "name": "minecraft:lava_bucket",
          "type": "minecraft:item",
          "weight": 4,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 3.0,
                "min": 1.0
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "repurposed_structures:chests/lucky_pool"
        }
      ]
    },
    {
      "rolls": 0,
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 130
        },
        {
          "name": "minecraft:red_banner",
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function":"set_nbt",
              "tag":"{BlockEntityTag:{Patterns:[{Pattern:bri,Color:15},{Pattern:ss,Color:14},{Pattern:gru,Color:15},{Pattern:gru,Color:14},{Pattern:mr,Color:15},{Pattern:br,Color:14},{Pattern:br,Color:15},{Pattern:bl,Color:14},{Pattern:bl,Color:15},{Pattern:bts,Color:14},{Pattern:bts,Color:14},{Pattern:bts,Color:15}]}}"
            }
          ]
        },
        {
          "name": "mysticalagriculture:creeper_essence",
          "type": "minecraft:item",
          "weight": 3
        }
      ]
    }
  ]
}