{
  "feature": "terralith:skylands/trees",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "data": 55,
            "weight": 90
          },
          {
            "data": 56,
            "weight": 10
          }
        ]
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:surface_water_depth_filter",
      "max_water_depth": 0
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "OCEAN_FLOOR"
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "minecraft:grass_block",
              "minecraft:dirt"
            ],
            "offset": [
              0,
              -1,
              0
            ]
          },
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:stone"
                  ],
                  "offset": [
                    3,
                    -1,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:stone"
                  ],
                  "offset": [
                    -3,
                    -1,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:stone"
                  ],
                  "offset": [
                    0,
                    -1,
                    -3
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:stone"
                  ],
                  "offset": [
                    0,
                    -1,
                    3
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}