{
  "feature": "tfg:venus/terrain/lakes",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 20
    },
    {
      "type": "minecraft:count",
      "count": 30
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:biome"
    },
    {
      "type": "count",
      "count": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": 5,
          "max_inclusive": 5
        }
      }
    },
    {
      "type": "minecraft:random_offset",
      "xz_spread": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": -4,
          "max_inclusive": 4
        }
      },
      "y_spread": 0
    },
    {
      "type": "environment_scan",
      "direction_of_search": "down",
      "max_steps": 6,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    0,
                    0
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    0,
                    0
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    -1
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    1
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    0,
                    -1
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    0,
                    1
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    0,
                    -1
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    0,
                    1
                  ],
                  "blocks": [
                    "tfc:rock/hardened/basalt",
                    "tfg:sand/fluorapatite/orange",
                    "tfg:rock/raw/geyserite",
                    "minecraft:air",
                    "minecraft:lava"
                  ]
                }
              ]
            }
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              0,
              0
            ],
            "blocks": [
                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert"
            ]
          },
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    1,
                    0
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    1,
                    0
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    1,
                    -1
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    1,
                    1
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    1,
                    -1
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    1,
                    1
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    1,
                    -1
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    1,
                    1
                  ],
                  "blocks": [
                    "tfc:rock/gravel/basalt",
                    "tfc:rock/hardened/basalt",
                    "tfg:rock/raw/geyserite",
                    "tfg:sand/fluorapatite/orange",

                    "tfg:sand/fluorapatite/green",
                    "tfg:sandstone/raw/fluorapatite/green",
                    "tfg:sand/fluorapatite/white",
                    "tfg:sandstone/raw/fluorapatite/white",
                    "tfg:sand/fluorapatite/blue",
                    "tfg:sandstone/raw/fluorapatite/blue",
                    "tfc:deposit/native_silver/chert",
                    "tfc:deposit/native_gold/chert",
                    "minecraft:lava"
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  ]
}
