{
  "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",
                      "blocks": [
                        "minecraft:birch_leaves"
                      ],
                      "offset": [
                        0,
                        1,
                        0
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "blocks": [
                        "minecraft:bee_nest"
                      ],
                      "offset": [
                        0,
                        -1,
                        0
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    1,
                    -1,
                    0
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -1,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -2,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -3,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          2,
                          0,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          1,
                          0,
                          1
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          1,
                          0,
                          -1
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "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",
                      "blocks": [
                        "minecraft:birch_leaves"
                      ],
                      "offset": [
                        0,
                        1,
                        0
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "blocks": [
                        "minecraft:bee_nest"
                      ],
                      "offset": [
                        0,
                        -1,
                        0
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    -1,
                    -1,
                    0
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -1,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -2,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -3,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          -2,
                          0,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          -1,
                          0,
                          -1
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          -1,
                          0,
                          1
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "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",
                      "blocks": [
                        "minecraft:birch_leaves"
                      ],
                      "offset": [
                        0,
                        1,
                        0
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "blocks": [
                        "minecraft:bee_nest"
                      ],
                      "offset": [
                        0,
                        -1,
                        0
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    0,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    1,
                    -1,
                    0
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -1,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -2,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -3,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          0,
                          0,
                          2
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          1,
                          0,
                          1
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          -1,
                          0,
                          1
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "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",
                      "blocks": [
                        "minecraft:birch_leaves"
                      ],
                      "offset": [
                        0,
                        1,
                        0
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "blocks": [
                        "minecraft:bee_nest"
                      ],
                      "offset": [
                        0,
                        -1,
                        0
                      ]
                    }
                  ]
                },
                {
                  "type": "minecraft:replaceable"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    0,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:birch_log"
                  ],
                  "offset": [
                    0,
                    -1,
                    -1
                  ]
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:any_of",
                    "predicates": [
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -1,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -2,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:short_grass",
                          "minecraft:stone",
                          "minecraft:dirt",
                          "minecraft:gravel"
                        ],
                        "offset": [
                          0,
                          -3,
                          0
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          0,
                          0,
                          -2
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          -1,
                          0,
                          -1
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                          "minecraft:birch_log"
                        ],
                        "offset": [
                          1,
                          0,
                          -1
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      }
    ]
  }
}