{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 1.0,
        "max": 3.0,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "name": "minecraft:saddle",
          "type": "minecraft:item",
          "weight": 20
        },
        {
          "name": "minecraft:golden_apple",
          "type": "minecraft:item",
          "weight": 15
        },
        {
          "name": "minecraft:enchanted_golden_apple",
          "type": "minecraft:item",
          "weight": 2
        },
        {
          "name": "minecraft:music_disc_ward",
          "type": "minecraft:item",
          "weight": 15
        },
        {
          "name": "minecraft:music_disc_stal",
          "type": "minecraft:item",
          "weight": 15
        },
        {
          "name": "minecraft:name_tag",
          "type": "minecraft:item",
          "weight": 20
        },
        {
          "name": "minecraft:golden_horse_armor",
          "type": "minecraft:item",
          "weight": 10
        },
        {
          "name": "minecraft:iron_horse_armor",
          "type": "minecraft:item",
          "weight": 15
        },
        {
          "name": "minecraft:diamond_horse_armor",
          "type": "minecraft:item",
          "weight": 5
        },
        {
          "name": "minecraft:iron_axe",
          "type": "minecraft:item",
          "weight": 5
        },
        {
          "name": "emendatusenigmatica:diamond_chunk_axe",
          "type": "minecraft:item",
          "weight": 1
        },
        {
          "name": "minecraft:totem_of_undying",
          "type": "minecraft:item",
          "weight": 1
        },
        {
          "name": "minecraft:book",
          "type": "minecraft:item",
          "weight": 12,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1.0,
        "max": 4.0,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "name": "emendatusenigmatica:iron_chunk",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:emerald",
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 3.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:apple",
          "type": "minecraft:item",
          "weight": 20
        },
        {
          "name": "minecraft:green_dye",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:bucket",
          "type": "minecraft:item",
          "weight": 10
        },
        {
          "name": "emendatusenigmatica:cinnabar_gem",
          "type": "minecraft:item",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:coal",
          "type": "minecraft:item",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:beetroot",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:poisonous_potato",
          "type": "minecraft:item",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 6.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:potato",
          "type": "minecraft:item",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 6.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:beetroot_seeds",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:suspicious_stew",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_stew_effect",
              "effects": [
                {
                  "type": "minecraft:blindness",
                  "duration": {
                    "min": 5.0,
                    "max": 7.0
                  }
                },
                {
                  "type": "minecraft:poison",
                  "duration": {
                    "min": 10.0,
                    "max": 20.0
                  }
                },
                {
                  "type": "minecraft:weakness",
                  "duration": {
                    "min": 6.0,
                    "max": 8.0
                  }
                },
                {
                  "type": "minecraft:jump_boost",
                  "duration": {
                    "min": 7.0,
                    "max": 10.0
                  }
                },
                {
                  "type": "minecraft:night_vision",
                  "duration": {
                    "min": 7.0,
                    "max": 10.0
                  }
                },
                {
                  "type": "minecraft:saturation",
                  "duration": {
                    "min": 7.0,
                    "max": 10.0
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 3,
      "entries": [
        {
          "name": "minecraft:bone",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:gunpowder",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:rotten_flesh",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:string",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:cobweb",
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 2.0,
                "type": "minecraft:uniform"
              }
            }
          ]
        },
        {
          "name": "minecraft:leather_helmet",
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        },
        {
          "name": "minecraft:leather_chestplate",
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        },
        {
          "name": "minecraft:leather_leggings",
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        },
        {
          "name": "minecraft:leather_boots",
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        }
      ]
    },
    {
      "rolls": 0,
      "bonus_rolls": 1,
      "entries": [
        {
          "name": "minecraft:pink_banner",
          "type": "minecraft:item",
          "weight": 20,
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
            }
          ]
        },
        {
          "type": "minecraft:empty",
          "weight": 360
        },
        {
          "name": "minecraft:black_banner",
          "type": "minecraft:item",
          "weight": 92,
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{BlockEntityTag:{Patterns:[{Pattern:mr,Color:13},{Pattern:flo,Color:13},{Pattern:flo,Color:15},{Pattern:tts,Color:15},{Pattern:tts,Color:15},{Pattern:tts,Color:13},{Pattern:bts,Color:15},{Pattern:bts,Color:15},{Pattern:bts,Color:13},{Pattern:cbo,Color:7},{Pattern:bo,Color:13},{Pattern:cbo,Color:15}]}}"
            }
          ]
        },
        {
          "name": "minecraft:music_disc_11",
          "type": "minecraft:item",
          "weight": 132
        },
        {
          "name": "minecraft:name_tag",
          "type": "minecraft:item",
          "weight": 176
        }
      ]
    }
  ]
}
