{
  "parent": "manic:technical/root",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:slept_in_bed",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "nbt": "{Tags:[\"manic.marked_event.bed\"]}"
            }
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "requirement"
    ]
  ],
  "rewards": {
    "function": "manic:entity/events/bed/sleep/main"
  }
}
