{
  "config": {
    "feature": {
      "feature": {
        "config": {
          "to_place": {
            "state": {
              "Name": "minecraft:spruce_wood",
              "Properties": {
                "axis": "y"
              }
            },
            "type": "minecraft:simple_state_provider"
          }
        },
        "type": "minecraft:simple_block"
      },
      "placement": [
        {
          "predicate": {
            "predicates": [
              {
                "type": "minecraft:replaceable"
              },
              {
                "blocks": [
                  "minecraft:snow_block",
                  "minecraft:powder_snow",
                  "minecraft:spruce_wood"
                ],
                "offset": [
                  0,
                  -1,
                  0
                ],
                "type": "minecraft:matching_blocks"
              }
            ],
            "type": "minecraft:all_of"
          },
          "type": "minecraft:block_predicate_filter"
        },
        {
          "predicate": {
            "predicates": [
              {
                "blocks": "minecraft:spruce_log",
                "offset": [
                  1,
                  1,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "minecraft:spruce_log",
                "offset": [
                  0,
                  1,
                  1
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "minecraft:spruce_log",
                "offset": [
                  -1,
                  1,
                  0
                ],
                "type": "minecraft:matching_blocks"
              },
              {
                "blocks": "minecraft:spruce_log",
                "offset": [
                  0,
                  1,
                  -1
                ],
                "type": "minecraft:matching_blocks"
              }
            ],
            "type": "minecraft:any_of"
          },
          "type": "minecraft:block_predicate_filter"
        }
      ]
    },
    "tries": 1,
    "xz_spread": 1,
    "y_spread": 1
  },
  "type": "minecraft:random_patch"
}