{
  "type": "minecraft:random_selector",
  "config": {
    "features": [
      {
        "chance": 0.3,
        "feature": {
          "feature": {
            "type": "minecraft:tree",
            "config": {
              "ignore_vines": true,
              "force_dirt": false,
              "minimum_size": {
                "type": "minecraft:two_layers_feature_size",
                "limit": 1,
                "lower_size": 0,
                "upper_size": 2
              },
              "dirt_provider": {
                "type": "minecraft:simple_state_provider",
                "state": {
                  "Name": "minecraft:dirt"
                }
              },
              "trunk_provider": {
                "type": "minecraft:simple_state_provider",
                "state": {
                  "Name": "minecraft:acacia_log",
                  "Properties": {
                    "axis": "y"
                  }
                }
              },
              "foliage_provider": {
                "type": "minecraft:simple_state_provider",
                "state": {
                  "Name": "minecraft:acacia_leaves",
                  "Properties": {
                    "distance": "7",
                    "persistent": "false",
                    "waterlogged": "false"
                  }
                }
              },
              "trunk_placer": {
                "type": "minecraft:cherry_trunk_placer",
                "base_height": 6,
                "height_rand_a": 1,
                "height_rand_b": 2,
                "branch_count": 2,
                "branch_horizontal_length": {
                  "type": "minecraft:uniform",
                    "min_inclusive": 2,
                    "max_inclusive": 3
                },
                "branch_start_offset_from_top": {
                  "min_inclusive": -3,
                  "max_inclusive": -2
                },
                "branch_end_offset_from_top": {
                  "type": "minecraft:uniform",
                    "min_inclusive": -1,
                    "max_inclusive": 0
                }
              },
              "foliage_placer": {
                "type": "minecraft:acacia_foliage_placer",
                "radius": 3,
                "offset": 0
              },
              "decorators": []
            }
          },
          "placement": [
            {
              "type": "minecraft:block_predicate_filter",
              "predicate": {
                "type": "minecraft:not",
                "predicate": {
                  "type": "minecraft:matching_block_tag",
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "tag": "clifftree:sapling_cannot_grow"
                }
              }
            }
          ]
        }
      }
    ],
    "default": {
      "feature": {
        "type": "minecraft:tree",
        "config": {
          "ignore_vines": true,
          "force_dirt": false,
          "minimum_size": {
            "type": "minecraft:two_layers_feature_size",
            "limit": 1,
            "lower_size": 0,
            "upper_size": 2
          },
          "dirt_provider": {
            "type": "minecraft:simple_state_provider",
            "state": {
              "Name": "minecraft:dirt"
            }
          },
          "trunk_provider": {
            "type": "minecraft:simple_state_provider",
            "state": {
              "Name": "minecraft:acacia_log",
              "Properties": {
                "axis": "y"
              }
            }
          },
          "foliage_provider": {
            "type": "minecraft:simple_state_provider",
            "state": {
              "Name": "minecraft:acacia_leaves",
              "Properties": {
                "distance": "7",
                "persistent": "false",
                "waterlogged": "false"
              }
            }
          },
          "trunk_placer": {
            "type": "minecraft:forking_trunk_placer",
            "base_height": 5,
            "height_rand_a": 2,
            "height_rand_b": 2
          },
          "foliage_placer": {
            "type": "minecraft:acacia_foliage_placer",
            "radius": 2,
            "offset": 0
          },
          "decorators": []
        }
      },
      "placement": [
        {
          "type": "minecraft:block_predicate_filter",
          "predicate": {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:matching_block_tag",
              "offset": [
                0,
                -1,
                0
              ],
              "tag": "clifftree:sapling_cannot_grow"
            }
          }
        }
      ]
    }
  }
}
