{
  "format_version": "1.13.0",
  "minecraft:tree_feature": {
    "description": {
      "identifier": "minecraft:mangrove_tree_feature"
    },
    "mangrove_roots": {
      "max_root_width": 8,
      "max_root_length": 15,
      "y_offset": {
        "range_min": 1,
        "range_max": 4
      },
      "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": 2,
        "height_rand_a": 1,
        "height_rand_b": 4
      },
      "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": 4
        }
      }
    },
    "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": 4
      }
    },
    "base_block": "minecraft:mud",
    "may_grow_on": [
      "minecraft:clay",
      "minecraft:dirt",
      "minecraft:coarse_dirt",
      "minecraft:dirt_with_roots",
      "minecraft:farmland",
      "minecraft:grass_block",
      "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",
      "minecraft:oak_leaves",
      "minecraft:spruce_leaves",
      "minecraft:birch_leaves",
      "minecraft:jungle_leaves",
      "minecraft:acacia_leaves",
      "minecraft:dark_oak_leaves"
    ]
  }
}
