[
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "type": "minecraft:player"
        }
      },
      {
        "condition": "minecraft:inverted",
        "term": {
          "condition": "minecraft:entity_scores",
          "entity": "this",
          "scores": {
            "manic.dummy": {
              "min": 3
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": 3,
        "predicate": {
          "block": {
            "tag": "nucleus:air"
          }
        }
      }
    ]
  },
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "type": "minecraft:player"
        }
      },
      {
        "condition": "minecraft:inverted",
        "term": {
          "condition": "minecraft:entity_scores",
          "entity": "this",
          "scores": {
            "manic.dummy": {
              "min": 2
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": 2,
        "predicate": {
          "block": {
            "tag": "nucleus:air"
          }
        }
      }
    ]
  },
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "type": "minecraft:player"
        }
      },
      {
        "condition": "minecraft:inverted",
        "term": {
          "condition": "minecraft:entity_scores",
          "entity": "this",
          "scores": {
            "manic.dummy": {
              "min": 1
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": 1,
        "predicate": {
          "block": {
            "tag": "nucleus:air"
          }
        }
      }
    ]
  },
  {
    "condition": "minecraft:location_check",
    "predicate": {
      "block": {
        "tag": "manic:placement_valid/air_and_snow"
      }
    }
  },
  {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:stairs",
            "state": {
              "half": "top"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:trapdoors",
            "state": {
              "half": "top",
              "open": "false"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:slabs",
            "state": {
              "type": "top"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "minecraft:slabs",
            "state": {
              "type": "double"
            }
          }
        }
      },
      {
        "condition": "minecraft:location_check",
        "offsetY": -1,
        "predicate": {
          "block": {
            "tag": "nucleus:solid"
          }
        }
      }
    ]
  }
]
