{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:chest",
          "functions": [
            {
              "function": "minecraft:set_loot_table",
              "type": "minecraft:chest",
              "name": "mt:chests/mushroom/rare"
            },
            {
              "function": "set_name",
              "name": [
                {
                  "text": "Rare Treasure",
                  "color": "aqua",
                  "italic": false
                }
              ]
            },
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        }
      ]
    }
  ]
}
