{
  "format_version": "1.13.0",
  "minecraft:tree_feature": {
    "description": {
      "identifier": "minecraft:mega_jungle_tree_feature"
    },
    "mega_trunk": {
      "trunk_width": 2,
      "trunk_height": {
        "base": 10,
        "intervals": [ 3, 20 ]
      },
      "trunk_block": {
        "name": "minecraft:jungle_log"
      },
      "trunk_decoration": {
        "decoration_block": "minecraft:vine",
        "decoration_chance": {
          "numerator": 1,
          "denominator": 3
        }
      },
      "branches": {
        "branch_length": 5,
        "branch_slope": 0.5,
        "branch_interval": {
          "range_min": 2,
          "range_max": 6
        },
        "branch_altitude_factor": {
          "min": 0.5,
          "max": 1.0
        },
        "branch_canopy": {
          "mega_canopy": {
            "canopy_height": {
              "range_min": 2,
              "range_max": 4
            },
            "base_radius": 1,
            "simplify_canopy": true,
            "leaf_block": {
              "name": "minecraft:jungle_leaves"
            }
          }
        }
      }
    },
    "mega_canopy": {
      "canopy_height": 3,
      "base_radius": 2,
      "core_width": 2,
      "leaf_block": {
        "name": "minecraft:jungle_leaves"
      }
    },
    // Blocks the tree can be placed on.
    "may_grow_on": [
      { "tags": "query.any_tag('dirt')" },
      "minecraft:clay"
    ],
    // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list.
    "base_block": [
      "minecraft:dirt",
      "minecraft:coarse_dirt"
    ],
    // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace".
    "may_grow_through": [
      { "tags": "query.any_tag('dirt')" }
    ],
    // Blocks that can be replaced by the tree's trunk and canopy.
    "may_replace": [
      "minecraft:air",
      "minecraft:snow_layer",
      // All leaves
      "minecraft:acacia_leaves",
      "minecraft:azalea_leaves",
      "minecraft:azalea_leaves_flowered",
      "minecraft:birch_leaves",
      "minecraft:cherry_leaves",
      "minecraft:dark_oak_leaves",
      "minecraft:jungle_leaves",
      "minecraft:mangrove_leaves",
      "minecraft:oak_leaves",
      "minecraft:pale_oak_leaves",
      "minecraft:spruce_leaves"
    ]
  }
}
