{
  "format": "mob_spawns_dynamic",
  "templates": [
    {
      "name": "invasion_example",
      "spawns": [
        {
          "entities": [
            "minecraft:zombie"
          ],
          "count": 2,
          "count_max": 10,
          "count_difficulty_multiplier": 3,
          "cmods": [
            {
              "cmod": "template",
              "template": "invader_miner"
            },
            {
              "cmod": "template",
              "template": "inventory_iron"
            },
            {
              "cmod": "attribute_health",
              "base_value": 40,
              "difficulty_multiplier": 1.5
            },
            {
              "cmod": "xp",
              "base_value": 50,
              "difficulty_multiplier": 1.5,

              "comment": "//set the base xp given of a mob, multiplication formula works the same as attribute_health"
            }
          ]
        },
        {
          "entities": [
            "minecraft:zombie"
          ],
          "count": 2,
          "count_max": 20,
          "count_difficulty_multiplier": 3,
          "cmods": [
            {
              "cmod": "template",
              "template": "invader_soldier"
            },
            {
              "cmod": "template",
              "template": "inventory_iron"
            },
            {
              "cmod": "attribute_health",
              "base_value": 20,
              "difficulty_multiplier": 1.5
            }
          ]
        },
        {
          "entities": [
            "minecraft:skeleton"
          ],
          "count": 2,
          "count_max": 20,
          "count_difficulty_multiplier": 3,
          "cmods": [
            {
              "cmod": "template",
              "template": "invader_soldier"
            },
            {
              "cmod": "template",
              "template": "inventory_iron"
            },
            {
              "cmod": "attribute_health",
              "base_value": 20,
              "difficulty_multiplier": 1.5
            }
          ]
        }
      ]
    }
  ]

}