{
  "parent": "survivalplus:tips/phantom",
  "display": {
    "icon": {
      "id": "minecraft:clock"
    },
    "title": "Insomnia",
    "description": "You haven't slept in a while, you've started thinking there might be something that isn't there...",
    "announce_to_chat": false,
    "hidden": true
  },
  "criteria": {
    "requirement": {
      "trigger": "minecraft:tick",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:any_of",
            "terms": [
              {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "nbt": "{playerGameType:0}"
                }
              },
              {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "nbt": "{playerGameType:2}"
                }
              }
            ]
          },
          {
            "condition": "minecraft:entity_scores",
            "entity": "this",
            "scores": {
              "Insomnia": {
                "min": 72000
              }
            }
          }
        ]
      }
    }
  }
}