{
  "feature": "terralith:yellowstone/terra_sand",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 20
    },
    {
      "type": "minecraft:count",
      "count": 30
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 8,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    -1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    0,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    0,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    -1,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    -1,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    1,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    1,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "fluids": [
                    "minecraft:water"
                  ],
                  "offset": [
                    0,
                    1,
                    0
                  ]
                }
              ]
            }
          },
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "minecraft:yellow_terracotta"
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}