
{
  "type": "minecraft:chest",
  "pools": [
    {
      "comment": "POOL 1: CONSUMABLES & RAW INDUSTRIAL TEXTILES (Multi-drop allowed)",
      "rolls": { "min": 1, "max": 3 },
      "entries": [
        { "type": "minecraft:item", "name": "marbledsfirstaid:bandaid", "weight": 4 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:bandaid_box", "weight": 1 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:cloth", "weight": 8 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:bandages", "weight": 3 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:curative_pills", "weight": 1 },
        { "type": "minecraft:item", "name": "immersiveengineering:hemp_fiber", "weight": 10 },
        { "type": "minecraft:item", "name": "immersiveengineering:ersatz_leather", "weight": 8 },
        { "type": "minecraft:item", "name": "immersiveengineering:wire_electrum", "weight": 5 }
      ]
    },
    {
      "comment": "POOL 2: CIVILIAN WEAPONS & IMPROVISED MELEE - STRICTLY MAX 1 MELEE WEAPON (5% to 100% durability)",
      "rolls": 1,
      "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.05 } ],
      "entries": [
        { "type": "minecraft:item", "name": "trydeas_meleez:food_knife", "weight": 10, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:wood_spear", "weight": 10, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:handsaw", "weight": 8, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:wrench", "weight": 8, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:kitchen_fork", "weight": 10, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:golf_club", "weight": 6, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:baseball_bat", "weight": 6, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:tabla", "weight": 8, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:hammer", "weight": 8, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:hockey_stick", "weight": 6, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:tabla_clavos", "weight": 5, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:stone_spear", "weight": 7, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:rolling_pin", "weight": 10, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:metal_pipe", "weight": 7, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:spike_baseball", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] }
      ]
    },
    {
      "comment": "POOL 3: COMBAT & UTILITY MELEE GEAR - STRICTLY MAX 1 EXTRA HEAVY TOOL/MELEE (5% to 100% durability)",
      "rolls": 1,
      "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.009 } ],
      "entries": [
        { "type": "minecraft:item", "name": "trydeas_meleez:short_axe", "weight": 5, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:knife", "weight": 7, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:butcher_knife", "weight": 5, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:wrench_f", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:bow_saw", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:scythe", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:farm_fork", "weight": 5, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:crowbar", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:lumberjack_axe", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:macuahuitlb", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:steel_bat", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:firefighter_axe", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:stop_sign", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:machete", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:saw", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:sledge_hammer", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:katana", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "trydeas_meleez:improvised_halberd", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] }
      ]
    },
    {
      "comment": "POOL 4: EMERGENCY CRITICAL MEDKITS & SYRINGES - STRICTLY MAX 1 EXTRA ITEM",
      "rolls": 1,
      "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.002 } ],
      "entries": [
        { "type": "minecraft:item", "name": "marbledsfirstaid:panacea_pills", "weight": 5 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:pain_pills", "weight": 5 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:medical_bag", "weight": 2 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:stimpack", "weight": 3 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:medkit", "weight": 1 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:first_aid_kit", "weight": 2 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:morphine_syringe", "weight": 2 },
        { "type": "minecraft:item", "name": "marbledsfirstaid:adrenaline_syringe", "weight": 3 }
      ]
    },
    {
      "comment": "POOL 5: CIVILIAN OUTFITS & LIGHT APPAREL - STRICTLY MAX 1 CLOTHING/ARMOR PIECE (5% to 100% durability)",
      "rolls": 1,
      "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.35 } ],
      "entries": [
        { "type": "minecraft:item", "name": "selfexpression:year_jacket_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:year_sweater_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:purple_hoodie_helmet", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:purple_hoodie_leggings", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:purple_hoodie_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:white_t_shirt_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:coolness_leggings", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:coolness_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:simple_boots", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:simple_leggings", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:simple_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:light_boots", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:light_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:light_leggings", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:black_t_shirt_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:t_shirt_hfs_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:prisoner_leggings", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:prisoner_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:scarecrow_boots", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:scarecrow_helmet", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:scarecrow_leggings", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:scarecrow_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] }
      ]
    },
    {
      "comment": "POOL 6: INDUSTRIAL CASINGS & CASUAL EXPLOSIVE BASES - STRICTLY MAX 1 EXTRA ITEM",
      "rolls": 1,
      "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.20 } ],
      "entries": [
        { "type": "minecraft:item", "name": "immersiveengineering:empty_shell", "weight": 5 },
        { "type": "minecraft:item", "name": "immersiveengineering:empty_casing", "weight": 5 },
        { "type": "minecraft:item", "name": "selfexpression:cloth", "weight": 8 }
      ]
    },
    {
      "comment": "POOL 7: TACTICAL / PROFESSIONAL SECURITY HAZMAT & BODY ARMOR - STRICTLY MAX 1 SECURITY PIECE (5% to 100% durability)",
      "rolls": 1,
      "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.12 } ],
      "entries": [
        { "type": "minecraft:item", "name": "selfexpression:chemical_protection_helmet", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:chemical_protection_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:chemical_protection_leggings", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:chemical_protection_boots", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:doctor_leggings", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:doctor_chestplate", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:doctor_helmet", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:doctor_boots", "weight": 4, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:scientific_smock_chestplate", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:scientific_smock_leggings", "weight": 3, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:sniper_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:sniper_leggings", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:sniper_helmet", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:improved_chemical_protection_chestplate", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:improved_chemical_protection_helmet", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:police_armor_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:police_armor_leggings", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:police_armor_boots", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:tactical_chestplate", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:tactical_helmet", "weight": 2, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:swat_helmet", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:swat_chestplate", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:swat_leggings", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] },
        { "type": "minecraft:item", "name": "selfexpression:swat_boots", "weight": 1, "functions": [{ "function": "minecraft:set_damage", "damage": { "min": 0.0, "max": 0.95 } }] }
      ]
    }
  ]
}