{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:trial_key",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:custom_model_data": 2341669
              }
            },
            {
              "function": "set_name",
              "name": [
                {
                  "color": "light_purple",
                  "italic": false,
                  "text": "Infested Temple Treasure Key"
                }
              ]
            },
            {
              "function": "set_lore",
              "lore": [
                {
                  "italic": true,
                  "text": "This key twists and turns, signaling its use for a higher vault."
                }
              ],
              "mode": "append"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 15,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:experience_bottle",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 24,
                "max": 32
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:diamond",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 2,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 80,
          "name": "minecraft:golden_apple",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 250,
          "name": "minecraft:golden_carrot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 250,
          "name": "minecraft:cooked_porkchop",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_golden_apple"
        }
      ]
    }
  ]
}