{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 2
      },
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:brown_mushroom_block",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:red_mushroom_block",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 2
      },
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:brown_mushroom",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:red_mushroom",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 2
      },
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_nugget",
          "weight": 75,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald",
          "weight": 25,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 0,
                "max": 1
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 3
      },
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:glass_bottle",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "weight": 25,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            },
            {
              "function": "minecraft:set_name",
              "name": {
                "text": "Old brew",
                "color": "#9efdff",
                "italic": false
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "weight": 25,
          "functions": [
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:slowness"
            },
            {
              "function": "minecraft:set_name",
              "name": {
                "text": "Mushroom Brew",
                "color": "#f7b87d",
                "italic": false
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 1
      },
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:water_bucket",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bucket",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 2
      },
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 1
              }
            }
          ]
        }
      ]
    }
  ]
}