{
  "type": "minecraft:vegetation_patch",
  "config": {
    "surface": "ceiling",
    "depth": 1,
    "vertical_range": 12,
    "extra_bottom_block_chance": 0,
    "extra_edge_column_chance": 0.5,
    "vegetation_chance": 0.8,
    "xz_radius": {
      "type": "minecraft:uniform",
      "value": {
        "min_inclusive": 4,
        "max_inclusive": 8
      }
    },
    "replaceable": "#terralith:island_blocks",
    "ground_state": {
      "type": "minecraft:simple_state_provider",
      "state": {
        "Name": "minecraft:stone"
      }
    },
    "vegetation_feature": {
      "placement": [],
      "feature": {
        "type": "minecraft:random_selector",
        "config": {
          "features": [],
          "default": {
            "feature": {
              "type": "minecraft:random_selector",
              "config": {
                "features": [
                  {
                    "chance": 0.965,
                    "feature": {
                      "feature": {
                        "type": "minecraft:simple_block",
                        "config": {
                          "to_place": {
                            "type": "minecraft:simple_state_provider",
                            "state": {
                              "Name": "minecraft:stone"
                            }
                          }
                        }
                      },
                      "placement": [
                        {
                          "type": "minecraft:block_predicate_filter",
                          "predicate": {
                            "type": "minecraft:all_of",
                            "predicates": [
                              {
                                "type": "minecraft:not",
                                "predicate": {
                                  "type": "minecraft:matching_blocks",
                                  "offset": [
                                    1,
                                    1,
                                    0
                                  ],
                                  "blocks": [
                                    "minecraft:air"
                                  ]
                                }
                              },
                              {
                                "type": "minecraft:not",
                                "predicate": {
                                  "type": "minecraft:matching_blocks",
                                  "offset": [
                                    -1,
                                    1,
                                    0
                                  ],
                                  "blocks": [
                                    "minecraft:air"
                                  ]
                                }
                              },
                              {
                                "type": "minecraft:not",
                                "predicate": {
                                  "type": "minecraft:matching_blocks",
                                  "offset": [
                                    0,
                                    1,
                                    -1
                                  ],
                                  "blocks": [
                                    "minecraft:air"
                                  ]
                                }
                              },
                              {
                                "type": "minecraft:not",
                                "predicate": {
                                  "type": "minecraft:matching_blocks",
                                  "offset": [
                                    0,
                                    1,
                                    1
                                  ],
                                  "blocks": [
                                    "minecraft:air"
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ],
                "default": {
                  "feature": {
                    "type": "minecraft:simple_block",
                    "config": {
                      "to_place": {
                        "type": "minecraft:simple_state_provider",
                        "state": {
                          "Name": "minecraft:stone"
                        }
                      }
                    }
                  },
                  "placement": [
                    {
                      "type": "minecraft:block_predicate_filter",
                      "predicate": {
                        "type": "minecraft:all_of",
                        "predicates": [
                          {
                            "type": "minecraft:not",
                            "predicate": {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                1,
                                2,
                                0
                              ],
                              "blocks": [
                                "minecraft:air"
                              ]
                            }
                          },
                          {
                            "type": "minecraft:not",
                            "predicate": {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                -1,
                                2,
                                0
                              ],
                              "blocks": [
                                "minecraft:air"
                              ]
                            }
                          },
                          {
                            "type": "minecraft:not",
                            "predicate": {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                0,
                                2,
                                -1
                              ],
                              "blocks": [
                                "minecraft:air"
                              ]
                            }
                          },
                          {
                            "type": "minecraft:not",
                            "predicate": {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                0,
                                2,
                                1
                              ],
                              "blocks": [
                                "minecraft:air"
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            },
            "placement": []
          }
        }
      }
    }
  }
}
