{
  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
    "type_specific": {
      "type": "minecraft:player",
      "gamemode": [
        "survival",
        "adventure"
      ]
    },
    "flags": {
      "is_flying": true
    }
  }
}
