{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:slept_in_bed",
      "conditions": {
        "location": {
          "dimension": "minecraft:overworld"
        },
        "player": [
          {
            "condition": "minecraft:value_check",
            "value": {
              "type": "minecraft:score",
              "target": {
                "type": "minecraft:fixed",
                "name": "#smithed.actionbar.major"
              },
              "score": "load.status"
            },
            "range": 0
          },
          {
            "condition": "minecraft:value_check",
            "value": {
              "type": "minecraft:score",
              "target": {
                "type": "minecraft:fixed",
                "name": "#smithed.actionbar.minor"
              },
              "score": "load.status"
            },
            "range": 2
          },
          {
            "condition": "minecraft:value_check",
            "value": {
              "type": "minecraft:score",
              "target": {
                "type": "minecraft:fixed",
                "name": "#smithed.actionbar.patch"
              },
              "score": "load.status"
            },
            "range": 0
          }
        ]
      }
    }
  }
}
