{
  "type": "minecraft:simple_random_selector",
  "config": {
    "features": [
      {
        "feature": {
          "type": "minecraft:simple_block",
          "config": {
            "to_place": {
              "type": "minecraft:simple_state_provider",
              "state": {
                "Name": "minecraft:birch_log",
                "Properties": {
                  "axis": "x"
                }
              }
            }
          }
        },
        "placement": [
          {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
              "type": "minecraft:all_of",
              "predicates": [
                {
                  "type": "minecraft:any_of",
                  "predicates": [
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:birch_leaves"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        -1,
                        0
                      ],
                      "blocks": [
                        "minecraft:bee_nest"
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    0,
                    0
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    -1,
                    0
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -1,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          2,
                          0,
                          0
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          1,
                          0,
                          1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          1,
                          0,
                          -1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "feature": {
          "type": "minecraft:simple_block",
          "config": {
            "to_place": {
              "type": "minecraft:simple_state_provider",
              "state": {
                "Name": "minecraft:birch_log",
                "Properties": {
                  "axis": "x"
                }
              }
            }
          }
        },
        "placement": [
          {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
              "type": "minecraft:all_of",
              "predicates": [
                {
                  "type": "minecraft:any_of",
                  "predicates": [
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:birch_leaves"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        -1,
                        0
                      ],
                      "blocks": [
                        "minecraft:bee_nest"
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    0,
                    0
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    -1,
                    0
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -1,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          -2,
                          0,
                          0
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          -1,
                          0,
                          -1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          -1,
                          0,
                          1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "feature": {
          "type": "minecraft:simple_block",
          "config": {
            "to_place": {
              "type": "minecraft:simple_state_provider",
              "state": {
                "Name": "minecraft:birch_log",
                "Properties": {
                  "axis": "z"
                }
              }
            }
          }
        },
        "placement": [
          {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
              "type": "minecraft:all_of",
              "predicates": [
                {
                  "type": "minecraft:any_of",
                  "predicates": [
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:birch_leaves"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        -1,
                        0
                      ],
                      "blocks": [
                        "minecraft:bee_nest"
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    1
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    -1,
                    0
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -1,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          0,
                          2
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          1,
                          0,
                          1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          -1,
                          0,
                          1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "feature": {
          "type": "minecraft:simple_block",
          "config": {
            "to_place": {
              "type": "minecraft:simple_state_provider",
              "state": {
                "Name": "minecraft:birch_log",
                "Properties": {
                  "axis": "z"
                }
              }
            }
          }
        },
        "placement": [
          {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
              "type": "minecraft:all_of",
              "predicates": [
                {
                  "type": "minecraft:any_of",
                  "predicates": [
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:birch_leaves"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        -1,
                        0
                      ],
                      "blocks": [
                        "minecraft:bee_nest"
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    -1
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    -1,
                    -1
                  ],
                  "blocks": [
                    "minecraft:birch_log"
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -1,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          0,
                          -2
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          -1,
                          0,
                          -1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          1,
                          0,
                          -1
                        ],
                        "blocks": [
                          "minecraft:birch_log"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      }
    ]
  }
}
