{
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:inverted",
      "term": {
        "condition": "minecraft:location_check",
        "predicate": {
          "block": {
            "blocks": "minecraft:spawner",
            "nbt": "{components:{\"minecraft:custom_data\":{magical_addons:{id:\"sparkstone_cluster\"}}}}"
          }
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetZ": -1,
      "predicate": {
        "block": {
          "blocks": "#magical_addons:non_collidable"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetZ": -1,
      "predicate": {
        "block": {
          "blocks": "minecraft:spawner",
          "nbt": "{components:{\"minecraft:custom_data\":{magical_addons:{id:\"sparkstone_cluster\"}}}}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetZ": -1,
      "predicate": {
        "block": {
          "blocks": "minecraft:spawner",
          "nbt": "{components:{\"minecraft:custom_data\":{magical_addons:{id:\"large_sparkstone_bud\"}}}}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetZ": -1,
      "predicate": {
        "block": {
          "blocks": "minecraft:spawner",
          "nbt": "{components:{\"minecraft:custom_data\":{magical_addons:{id:\"medium_sparkstone_bud\"}}}}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetZ": -1,
      "predicate": {
        "block": {
          "blocks": "minecraft:spawner",
          "nbt": "{components:{\"minecraft:custom_data\":{magical_addons:{id:\"small_sparkstone_bud\"}}}}"
        }
      }
    }
  ]
}