{
    "condition": "any_of",
    "terms": [

        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": 1,
                    "offsetY": -1,
                    "offsetZ": 0,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 1,
                                "offsetY": -1,
                                "offsetZ": 0,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 1,
                                "offsetY": -2,
                                "offsetZ": 0,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": 0,
                    "offsetY": -1,
                    "offsetZ": 1,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 0,
                                "offsetY": -1,
                                "offsetZ": 1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 0,
                                "offsetY": -2,
                                "offsetZ": 1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": 1,
                    "offsetY": -1,
                    "offsetZ": 1,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 1,
                                "offsetY": -1,
                                "offsetZ": 1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 1,
                                "offsetY": -2,
                                "offsetZ": 1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": -1,
                    "offsetY": -1,
                    "offsetZ": 0,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": -1,
                                "offsetY": -1,
                                "offsetZ": 0,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": -1,
                                "offsetY": -2,
                                "offsetZ": 0,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": 0,
                    "offsetY": -1,
                    "offsetZ": -1,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 0,
                                "offsetY": -1,
                                "offsetZ": -1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 0,
                                "offsetY": -2,
                                "offsetZ": -1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": -1,
                    "offsetY": -1,
                    "offsetZ": -1,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": -1,
                                "offsetY": -1,
                                "offsetZ": -1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": -1,
                                "offsetY": -2,
                                "offsetZ": -1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": 1,
                    "offsetY": -1,
                    "offsetZ": -1,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 1,
                                "offsetY": -1,
                                "offsetZ": -1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": 1,
                                "offsetY": -2,
                                "offsetZ": -1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        },


        {
            "condition": "any_of",
            "terms": [
                {
                    "condition": "location_check",
                    "offsetX": -1,
                    "offsetY": -1,
                    "offsetZ": 1,
                    "predicate": {
                        "block": {
                            "blocks": "#overly_realistic:cant_collapse_no_air"
                        }
                    }
                },
                {
                    "condition": "all_of",
                    "terms": [
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": -1,
                                "offsetY": -1,
                                "offsetZ": 1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        },
                        {
                            "condition": "inverted",
                            "term": {
                                "condition": "location_check",
                                "offsetX": -1,
                                "offsetY": -2,
                                "offsetZ": 1,
                                "predicate": {
                                    "block": {
                                        "blocks": "#overly_realistic:can_collapse_from"
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        }


        
    ]
}