{
  "type": "minecraft:random_selector",
  "config": {
    "features": [],
    "default": {
      "feature": {
        "type": "minecraft:random_selector",
        "config": {
          "features": [],
          "default": {
            "feature": {
              "type": "minecraft:simple_block",
              "config": {
                "to_place": {
                  "type": "minecraft:simple_state_provider",
                  "state": {
                    "Name": "minecraft:tnt",
                    "Properties": {
                      "unstable": "true"
                    }
                  }
                }
              }
            },
            "placement": [
              {
                "type": "environment_scan",
                "direction_of_search": "down",
                "max_steps": 16,
                "target_condition": {
                  "type": "minecraft:all_of",
                  "predicates": [
                    {
                      "type": "minecraft:any_of",
                      "predicates": [
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            1,
                            0
                          ],
                          "blocks": [
                            "minecraft:sculk_sensor"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            1,
                            0
                          ],
                          "blocks": [
                            "minecraft:tnt"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            1,
                            0,
                            0
                          ],
                          "blocks": [
                            "minecraft:tnt"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            -1,
                            0,
                            0
                          ],
                          "blocks": [
                            "minecraft:tnt"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            0,
                            -1
                          ],
                          "blocks": [
                            "minecraft:tnt"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            0,
                            -1
                          ],
                          "blocks": [
                            "minecraft:tnt"
                          ]
                        }
                      ]
                    },
                    {
                      "type": "minecraft:not",
                      "predicate": {
                        "type": "minecraft:any_of",
                        "predicates": [
                          {
                            "type": "minecraft:matching_blocks",
                            "offset": [
                              0,
                              1,
                              0
                            ],
                            "blocks": [
                              "minecraft:air",
                              "glow_lichen"
                            ]
                          },
                          {
                            "type": "minecraft:matching_blocks",
                            "offset": [
                              1,
                              0,
                              0
                            ],
                            "blocks": [
                              "minecraft:air",
                              "glow_lichen"
                            ]
                          },
                          {
                            "type": "minecraft:matching_blocks",
                            "offset": [
                              0,
                              0,
                              1
                            ],
                            "blocks": [
                              "minecraft:air",
                              "glow_lichen"
                            ]
                          },
                          {
                            "type": "minecraft:matching_blocks",
                            "offset": [
                              -1,
                              0,
                              0
                            ],
                            "blocks": [
                              "minecraft:air",
                              "glow_lichen"
                            ]
                          },
                          {
                            "type": "minecraft:matching_blocks",
                            "offset": [
                              0,
                              0,
                              -1
                            ],
                            "blocks": [
                              "minecraft:air",
                              "glow_lichen"
                            ]
                          },
                          {
                            "type": "minecraft:matching_blocks",
                            "offset": [
                              0,
                              -1,
                              0
                            ],
                            "blocks": [
                              "minecraft:air",
                              "glow_lichen"
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      },
      "placement": [
        {
          "type": "minecraft:count",
          "count": 20
        },
        {
          "type": "minecraft:count",
          "count": 190
        },
        {
          "type": "minecraft:in_square"
        },
        {
          "type": "minecraft:height_range",
          "height": {
            "type": "minecraft:uniform",
            "min_inclusive": {
              "above_bottom": 0
            },
            "max_inclusive": {
              "absolute": 0
            }
          }
        }
      ]
    }
  }
}
