{
  "format_version": "1.13.0",
  "minecraft:tree_feature": {
    "description": {
      "identifier": "minecraft:tall_mangrove_tree_feature"
    },
    "mangrove_roots": {
      "max_root_width": 8,
      "max_root_length": 15,
      "y_offset": {
        "range_min": 5,
        "range_max": 8
      },
      "root_block": {
        "name": "minecraft:mangrove_roots"
      },
      "muddy_root_block": {
        "name": "minecraft:muddy_mangrove_roots"
      },
      "mud_block": {
        "name": "minecraft:mud"
      },
      "above_root": {
        "above_root_block": "minecraft:moss_carpet",
        "above_root_chance": {
          "numerator": 1,
          "denominator": 2
        }
      },
      "roots_may_grow_through": [
        "minecraft:mud",
        "minecraft:muddy_mangrove_roots",
        "minecraft:mangrove_roots",
        "minecraft:moss_carpet",
        "minecraft:vine",
        "minecraft:mangrove_propagule",
        "minecraft:snow_layer"
      ]
    },
    "mangrove_trunk": {
      "trunk_width": 1,
      "trunk_height": {
        "base": 4,
        "height_rand_a": 1,
        "height_rand_b": 9
      },
      "trunk_block": {
        "name": "minecraft:mangrove_log"
      },
      "branches": {
        "branch_chance": 100.0,
        "branch_length": {
          "range_min": 0,
          "range_max": 1
        },
        "branch_steps": {
          "range_min": 1,
          "range_max": 6
        }
      }
    },
    "mangrove_canopy": {
      "canopy_height": 2,
      "canopy_radius": 3,
      "leaf_placement_attempts": 70,
      "leaf_blocks": [
        ["minecraft:mangrove_leaves", 1]
      ],
      "canopy_decoration": {
        "decoration_block": "minecraft:vine",
        "decoration_chance": {
          "numerator": 1,
          "denominator": 4
        },
        "num_steps": 4,
        "step_direction": "down"
      },
      "hanging_block": {
        "name": "minecraft:mangrove_propagule",
        "states": {
          "hanging": true
        }
      },
      "hanging_block_placement_chance": {
        "numerator": 1,
        "denominator": 7
      }
    },
    "base_block": "minecraft:mud",
    "may_grow_on": [
      "minecraft:clay",
      "minecraft:dirt",
      "minecraft:coarse_dirt",
      "minecraft:dirt_with_roots",
      "minecraft:farmland",
      "minecraft:grass",
      "minecraft:moss_block",
      "minecraft:mycelium",
      "minecraft:mud",
      "minecraft:podzol"
    ],
    "may_replace": [
      "minecraft:mangrove_leaves",
      "minecraft:azalea_leaves",
      "minecraft:azalea_leaves_flowered",
      "minecraft:water",
      "minecraft:flowing_water",
      "minecraft:air",
      "minecraft:mud",
      "minecraft:muddy_mangrove_roots",
      "minecraft:vine",
      "minecraft:moss_carpet",
      "minecraft:mangrove_propagule",
      {
        "name": "minecraft:leaves",
        "states": {
          "old_leaf_type": "oak"
        }
      },
      {
        "name": "minecraft:leaves",
        "states": {
          "old_leaf_type": "spruce"
        }
      },
      {
        "name": "minecraft:leaves",
        "states": {
          "old_leaf_type": "birch"
        }
      },
      {
        "name": "minecraft:leaves",
        "states": {
          "old_leaf_type": "jungle"
        }
      },
      {
        "name": "minecraft:leaves2",
        "states": {
          "new_leaf_type": "acacia"
        }
      },
      {
        "name": "minecraft:leaves2",
        "states": {
          "new_leaf_type": "dark_oak"
        }
      }
    ]
  }
}
