{
  "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: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","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","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: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","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","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: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","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","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: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","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -2,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","gravel"
                        ]
                      },
                      {
                        "type": "minecraft:matching_blocks",
                        "offset": [
                          0,
                          -3,
                          0
                        ],
                        "blocks": [
                          "minecraft:grass","stone","dirt","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"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      }
    ]
  }
}
