{
  "_comment": "Prevent spawning of bats, except from Spawn Egg ans Spawner.",
  "conditions": [
    {
      "type": "forge:true"
    }
  ],
  "deny": [
    {
      "type": "and",
      "values": [
        {
          "type": "entity",
          "entity": "depthcrawler:ancientdeep"
        },
        {
          "type": "not",
          "value": {
            "type": "or",
            "values": [
              {
                "type": "spawn_reason",
                "spawn_reason": "spawn_egg"
              }
            ]
          }
        }
      ]
    }
  ]
}