{
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  //                                                                 Custom Entity Attributes (CEA) by ElocinDev
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  //                                                                              Advanced Config 
  //                                                     Reloaded via datapack reload (/reload) or by restarting the game
  //                                             This config allows you to add attribute modifiers globally to specific entities.
  //                                For more customization, such as per-dimension, per-biome or per-difficulty, please use the advanced config.
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  // Option Index:
  //   entity_regex        :   Entity's ID (Supports regex). For example: minecraft:zombie (to affect zombies) or minecraft:.* (to affect all minecraft entities)
  //   apply_chance        :   The chance the modifier will be applied to the entity. 100.0 is 100% chance, 50.0 is 50% chance, etc.
  //   time_regex          :   The time it needs to be to apply it. For example: day (to apply it during the day) or night (to apply it during the night) or *) for both.
  //   dimnension_regex    :   The dimension ID (Supports regex). For example: minecraft:overworld (to affect the overworld) or minecraft:.* (to affect all minecraft dimensions)
  //   biome_regex         :   The biome ID (Supports regex). For example: minecraft:plains (to affect plains) or minecraft:.* (to affect all minecraft biomes)
  //   difficulty_regex    :   A List of difficulties to affect. For example: easy (to affect easy difficulty) or (hard|hardcore) (to affect only to specific difficulties)
  //   default_hp          :   The default HP the entity spawns with. If this is set to -1, it'll spawn the entity at the same percentage as it was before applying.
  //   only_apply_to_babies:   If true, it'll only apply to baby entities, such as baby zombies or baby villagers.
  //   attribute_overrides :   A List of attribute modifiers to add, you can add as many as you want.
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  // Difficulty Index:
  //   peaceful        :   Peaceful difficulty
  //   easy            :   Easy difficulty
  //   normal          :   Normal difficulty
  //   hard            :   Hard (and hardcore) difficulty
  //   hard_only       :   Hard difficulty, excluding hardcore
  //   hardcore        :   Only when hardcore is enabled
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  // The example showcases a config to add +10 attack damage and +20% attack speed to an example_entity.
  // If the entity spawns in the overworld or nether, in a plains, ocean, warped forest or any hills biome, and in easy, normal or hard difficulty.
  // You can use this example as a base to edit what you want, for example if you want to make zombies have 20 HP, just set the attribute to minecraft:generic.max_health and
  // set the value to 20.0, finally use ADDITION for operation, so it adds +20 HP, leaving 40 HP total.
  // You can also use MULTIPLY_BASE at 0.20 to give +20% max health.
  //  
  //  * If you modify the max HP of an entity, it'll automatically recalculate the HP the mob spawns to keep the same percentage.
  //  this means that entities that spawn with a set percentage (like the wither) will work as expected.
  //  * To modify the default HP an entity spawns with, use the default_hp option, you can set any value you want, do keep in mind of maximum health though.
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  // Operations:
  //   ADDITION       :   Adds the value to the base value.
  //   MULTIPLY_BASE  :   Multiplies the base value by the value.
  //   MULTIPLY_TOTAL :   Multiplies the total value by the value.
  // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  "advanced_modifiers": [
    {
      "entity_regex": "minecraft:player",
      "apply_chance": 100.0,
      "time_regex": ".*",
      "dimension_regex": "minecraft:the_end",
      "biome_regex": ".*",
      "difficulty_regex": ".*",
      "default_hp": -1.0,
      "only_apply_to_babies": false,
      "attributes": [
        {
          "attribute": "eldritch_end:corruption",
          "value": 30,
          "operation": "ADDITION"
        }
      ]
    },
    {
      "entity_regex": "minecraft:player",
      "apply_chance": 100.0,
      "time_regex": ".*",
      "dimension_regex": "minecraft:the_end",
      "biome_regex": ".*",
      "difficulty_regex": "hard",
      "default_hp": -1.0,
      "only_apply_to_babies": false,
      "attributes": [
        {
          "attribute": "eldritch_end:corruption",
          "value": 20,
          "operation": "ADDITION"
        }
      ]
    },
    {
      "entity_regex": "(born_in_chaos_v1:skeleton_thrasher|born_in_chaos_v1:skeleton_thrasher_not_despawn)",
      "apply_chance": 100.0,
      "time_regex": ".*",
      "dimension_regex": ".*",
      "biome_regex": ".*",
      "difficulty_regex": ".*",
      "default_hp": -1.0,
      "only_apply_to_babies": false,
      "attributes": [
        {
          "attribute": "minecraft:generic.attack_damage",
          "value": 1.5,
          "operation": "ADDITION"
        },
        {
          "attribute": "minecraft:generic.armor",
          "value": 0.5,
          "operation": "MULTIPLY_BASE"
        },
        {
          "attribute": "minecraft:generic.max_health",
          "value": 1.5,
          "operation": "MULTIPLY_BASE"
        }
      ]
    },
    {
      "entity_regex": "eeeabsmobs:corpse_warlock",
      "apply_chance": 100.0,
      "time_regex": ".*",
      "dimension_regex": ".*",
      "biome_regex": ".*",
      "difficulty_regex": ".*",
      "default_hp": -1.0,
      "only_apply_to_babies": false,
      "attributes": [
        {
          "attribute": "minecraft:generic.attack_damage",
          "value": 1.5,
          "operation": "ADDITION"
        },
        {
          "attribute": "minecraft:generic.max_health",
          "value": 250,
          "operation": "ADDITION"
        }
      ]
    },
    {
      "entity_regex": "derelict:arachne",
      "apply_chance": 100.0,
      "time_regex": ".*",
      "dimension_regex": ".*",
      "biome_regex": ".*",
      "difficulty_regex": ".*",
      "default_hp": -1.0,
      "only_apply_to_babies": false,
      "attributes": [
        {
          "attribute": "minecraft:generic.attack_damage",
          "value": 3,
          "operation": "ADDITION"
        },
        {
          "attribute": "minecraft:generic.max_health",
          "value": 416,
          "operation": "ADDITION"
        },
        {
          "attribute": "minecraft:generic.armor",
          "value": 10,
          "operation": "ADDITION"
        }
      ]
    }
  ],
  // Don't touch this!
  "CONFIG_VERSION": 1
}