[
  {
    "condition": "minecraft:location_check",
    "predicate": {
      "dimension": "minecraft:overworld"
    }
  },
  {
    "condition": "minecraft:entity_scores",
    "entity": "this",
    "scores": {
      "manic.sanity": {
        "max": 4999
      }
    }
  },
  {
    "condition": "minecraft:reference",
    "name": "manic:entity/spectre/chitter/allow_spawning"
  },
  {
    "condition": "minecraft:random_chance",
    "chance": 0.02
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:reference",
      "name": "manic:world/deep_dark"
    }
  },
  {
    "condition": "minecraft:reference",
    "name": "manic:world/caves"
  }
]
