{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald_block",
          "weight": 5
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_block",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_ingot",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_block",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:crossbow",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_axe",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 10,
                "max": 30
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_helmet",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 10,
                "max": 20
              },
              
              "options": "#minecraft:on_random_loot"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:trim": {
                  "material": "minecraft:copper",
                  "pattern": "minecraft:flow"
                }
              }
            },
            { 
              "function": "c6c:randomize_equipments",
              "quality": { 
              "min": 0.05, 
              "max": 0.2
              } 
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 10,
                "max": 20
              },
              
              "options": "#minecraft:on_random_loot"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:trim": {
                  "material": "minecraft:copper",
                  "pattern": "minecraft:flow"
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_leggings",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 10,
                "max": 20
              },
              
              "options": "#minecraft:on_random_loot"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:trim": {
                  "material": "minecraft:copper",
                  "pattern": "minecraft:flow"
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_boots",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 10,
                "max": 20
              },
              
              "options": "#minecraft:on_random_loot"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:trim": {
                  "material": "minecraft:copper",
                  "pattern": "minecraft:flow"
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": [
                "minecraft:knockback",
                "minecraft:punch",
                "minecraft:smite",
                "minecraft:looting",
                "minecraft:multishot"
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": [
                "minecraft:breach",
                "minecraft:density"
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_enchantments",
              "enchantments": {
                "minecraft:wind_burst": 1
              },
              "add": false
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_block"
        }
      ]
    }
  ]
}
