{
  "type": "minecraft:entity",
  "functions": [
    {
      "function": "minecraft:enchant_with_levels",
      "levels": 30,
      "options": [
        "protection",
        "projectile_protection"
      ],
      "conditions": [
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": {
              "min": 3,
              "max": 4
            }
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.5
        }
      ]
    },
    {
      "function": "minecraft:enchant_with_levels",
      "levels": 30,
      "options": [
        "protection",
        "projectile_protection"
      ],
      "conditions": [
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": {
              "min": 5
            }
          }
        }
      ]
    }
  ],
  "pools": [
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:js_kl"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 1
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.2
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_chestplate"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:js_kl"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 2
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.4
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_chestplate",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate",
          "weight": 1
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:js_kl"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 3
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.6
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_chestplate",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "weight": 1000,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.6
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:js_kl"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 4
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.8
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_chestplate",
          "weight": 1000,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:js_kl"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 5
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_chestplate"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "wither_skeleton"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 1
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.2
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:piglin"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 2
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.4
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:piglin"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 3
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.6
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate",
          "weight": 1000,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:piglin"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 4
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.8
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate",
          "weight": 1000,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#colosseum_of_fools:piglin"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 5
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "wither_skeleton"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 2
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.4
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "wither_skeleton"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 3
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.6
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate",
          "weight": 1000,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "wither_skeleton"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 4
          }
        },
        {
          "condition": "random_chance",
          "chance": 0.8
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate",
          "weight": 1000,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "entity_properties",
          "entity": "this",
          "predicate": {
            "type": "wither_skeleton"
          }
        },
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "jjc_ominous": 5
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate"
        }
      ]
    }
  ]
}