[
  {
    "__comment": "Cancel standard tree features from the BoP overworld.",
    "select": { "names": [ "biomesoplenty.*", "!biomesoplenty:origin_valley" ], "type": "overworld" },
    "cancellers": {
      "type": "tree",
      "namespaces": ["biomesoplenty", "minecraft"]
    }
  },
  {
    "__comment": "Cancel standard tree features from the BoP nether.",
    "select": { "name": "biomesoplenty:undergrowth" },
    "cancellers": {
      "type": "tree",
      "namespaces": ["biomesoplenty", "minecraft"],
      "stage": "underground_decoration"
    }
  },
  {
    "__comment": "Flag nether as being subterranean.",
    "select": { "name": "biomesoplenty:.*", "type": "nether" },
    "apply": {
      "subterranean": true
    }
  },

  {
    "select": { "name": "biomesoplenty:tropics" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:palm" : 3,
          "dtbop:flowering_oak_bush" : 1,
          "dtbop:jungle_twiglet" : 1
        }
      },
      "density": [ 5.0 ],
      "chance": 1.0,
      "forestness" : 0.5
    }
  },
  {
    "select": { "name": "biomesoplenty:rainforest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:mahogany" : 7,
          "dtbop:short_jungle" : 1
        }
      },
      "density": 1.0,
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:rainforest_cliffs" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:mahogany" : 1,
          "dtbop:jungle_twiglet" : 6,
          "dtbop:oak_bush" : 2
        }
      },
      "density": 1.0,
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:rainforest_floodplain" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:sparse_oak" : 1,
          "dtbop:oak_bush" : 1
        }
      },
      "density": 0.5,
      "chance": 0.3
    }
  },
  {
    "select": { "name": "biomesoplenty:fungal_jungle" },
    "apply": {
      "species" : "dtbop:oak_bush",
      "density": 1.0,
      "chance": 0.6
    }
  },
  {
    "select": { "name": "biomesoplenty:rainbow_hills" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:rainbow_birch" : 6,
          "dtbop:fir" : 3,
          "dtbop:oak_bush" : 1
        }
      },
      "density": 0.5,
      "chance": 0.8,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:alps_foothills" },
    "apply": {
      "species" : "dtbop:alps_spruce",
      "density": 0.8,
      "chance": 0.4
    }
  },
  {
    "select": { "name": "biomesoplenty:jade_cliffs" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:spruce_bush" : 17,
          "dtbyg:giga_spruce" : 2
        }
      },
      "density": 1.0,
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:.*woodland" },
    "apply": {
      "species" : "oak",
      "density": 0.5,
      "chance": 0.8,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:dense_woodland" },
    "apply": {
      "density": 1.5,
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:prairie" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:sparse_oak" : 7,
          "oak" : 1
        }
      },
      "density": 0.1,
      "chance": 0.05
    }
  },
  {
    "select": { "name": "biomesoplenty:lavender_field" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:jacaranda" : 7,
          "dtbop:flowering_oak" : 1
        }
      },
      "density": 0.1,
      "chance": 0.3
    }
  },
  {
    "select": { "name": "biomesoplenty:lavender_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:jacaranda" : 7,
          "dtbop:flowering_oak" : 1
        }
      },
      "density": 1.0,
      "chance": 0.75,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:cherry_blossom_grove" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:white_cherry" : 4,
          "dtbop:pink_cherry" : 4,
          "dtbop:flowering_oak" : 1,
          "dtbop:flowering_oak_bush" : 1
        }
      },
      "density": [ 0.5, 0.25, 0.5 ],
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:bamboo_blossom_grove" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:white_cherry" : 1,
          "dtbop:pink_cherry" : 1,
          "dtbop:flowering_oak" : 6,
          "dtbop:flowering_oak_bush" : 2
        }
      },
      "density": [ 0.8, 0.25, 0.7 ],
      "chance": 0.8,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:grove_clearing" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:sparse_oak" : 1,
          "dtbop:oak_bush" : 3,
          "dtbop:flowering_oak_bush" : 3
        }
      },
      "density": 0.5,
      "chance": 0.4
    }
  },
  {
    "select": { "name": "biomesoplenty:grove" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:dark_poplar" : 3,
          "dtbop:spruce_poplar" : 3,
          "dtbop:oak_bush" : 1,
          "dtbop:flowering_oak_bush" : 1
        }
      },
      "density": 0.4,
      "chance": 0.5,
      "forestness" : 0.5
    }
  },
  {
    "select": { "name": "biomesoplenty:wooded_scrubland" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:acacia_twiglet" : 2,
          "dtbop:oak_twiglet" : 1,
          "dtbop:spruce_twiglet" : 1
        }
      },
      "density": [ 4.0 ],
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:tundra" },
    "apply": {
      "species" : "dtbop:maple_twiglet",
      "density": 0.1,
      "chance": 0.4
    }
  },
  {
    "select": { "name": "biomesoplenty:tundra_bog" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:maple_twiglet" : 1,
          "dtbop:oak_twiglet" : 1,
          "dtbop:spruce_twiglet" : 1
        }
      },
      "density": 1.0,
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:muskeg" },
    "apply": {
      "species" : "dtbop:dead",
      "density": 0.1,
      "chance": 0.6
    }
  },
  {
    "select": { "name": "biomesoplenty:wasteland" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:dead" : 1,
          "dtbop:dying" : 1
        }
      },
      "density": 0.1,
      "chance": 0.02
    }
  },
  {
    "select": { "name": "biomesoplenty:volcanic_plains" },
    "apply": {
      "species" : "dtbop:dark_oak_twiglet",
      "density": 0.1,
      "chance": 0.6
    }
  },
  {
    "select": { "name": "biomesoplenty:lush_desert" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:acacia_bush" : 4,
          "dtbop:sparse_acacia" : 1
        }
      },
      "density": 0.4,
      "chance": 0.5
    }
  },
  {
    "select": { "name": "biomesoplenty:dry.*" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:sparse_oak" : 1,
          "dtbop:oak_twiglet" : 4,
          "dtbop:acacia_twiglet" : 2
        }
      },
      "density": 0.8,
      "chance": 0.4
    }
  },
  {
    "select": { "name": "biomesoplenty:shrubland.*" },
    "apply": {
      "species" : "dtbop:oak_bush",
      "density": 0.01,
      "chance": 0.5
    }
  },
  {
    "select": { "name": "biomesoplenty:shrubland_hills" },
    "apply": {
      "density": 1.0,
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:orchard" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:flowering_oak" : 5,
          "dtbop:flowering_apple_oak" : 1
        }
      },
      "density": 0.2,
      "chance": 0.3
    }
  },
  {
    "select": { "name": "biomesoplenty:redwood.*" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:redwood" : 5,
          "dtbop:small_redwood" : 3,
          "dtbop:oak_bush" : 1
        }
      },
      "density": 1.0,
      "chance": 1.0,
      "forestness" : 1.0
    }
  },

  {
    "select": { "name": "biomesoplenty:redwood_forest_edge" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:small_redwood" : 5,
          "dtbop:sparse_oak" : 2,
          "oak" : 1,
          "dtbop:oak_bush" : 4
        }
      },
      "density": 0.6,
      "chance": 0.5,
      "forestness" : 0.75
    }
  },
  {
    "select": { "name": "biomesoplenty:coniferous_lakes" },
    "apply": {
      "species" : "dtbop:fir",
      "density": 0.5,
      "chance": 1.0,
      "forestness" : 0.75
    }
  },
  {
    "select": { "name": "biomesoplenty:.*fir_clearing" },
    "apply": {
      "species" : "dtbop:fir",
      "density": 0.3,
      "chance": 0.6,
      "forestness" : 0.25
    }
  },
  {
    "select": { "name": "biomesoplenty:coniferous_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:mega_fir" : 5,
          "dtbop:fir" : 1
        }
      },
      "density": 1.0,
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:snowy_coniferous_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:mega_fir" : 6,
          "dtbop:fir" : 4,
          "dtbop:maple" : 1
        }
      },
      "density": 0.8,
      "chance": 0.9,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:snowy_maple_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:maple" : 4,
          "dtbop:fir" : 1
        }
      },
      "density": 0.8,
      "chance": 0.9,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:seasonal_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:orange_autumn" : 32,
          "dtbop:yellow_autumn" : 32,
          "dtbop:maple" : 32,
          "oak" : 15,
          "apple_oak" : 1
        }
      },
      "density": 0.5,
      "chance": 0.8,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:seasonal_pumpkin_patch" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:orange_autumn" : 1,
          "dtbop:oak_bush" : 4,
          "dtbop:oak_twiglet" : 6
        }
      },
      "density": 0.5,
      "chance": 0.7
    }
  },
  {
    "select": { "name": "biomesoplenty:seasonal_orchard" },
    "apply": {
      "species" : "dtbop:yellow_autumn",
      "density": 0.6,
      "chance": 0.2
    }
  },
  {
    "select": { "name": "biomesoplenty:ominous_mire" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:umbran" : 2,
          "dtbop:willow" : 3,
          "dtbop:dead" : 1,
          "dtbop:dying" : 1
        }
      },
      "density": 0.8,
      "chance": 1.0,
      "forestness" : 0.75
    }
  },
  {
    "select": { "name": "biomesoplenty:ominous_woods" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:mega_umbran" : 3,
          "dtbop:umbran" : 2,
          "dtbop:dead" : 1,
          "dtbop:dying" : 2
        }
      },
      "density": 1.0,
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:.*meadow" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:oak_bush" : 25,
          "mega_spruce" : 1
        }
      },
      "density": 0.8,
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:meadow_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:oak_bush" : 3,
          "mega_spruce" : 4,
          "dtbyg:giga_spruce": 1
        }
      },
      "density": 1.0,
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:bayou" },
    "apply": {
      "species" : "dtbop:cypress_willow",
      "density": 0.6,
      "chance": 0.4
    }
  },
  {
    "select": { "name": "biomesoplenty:deep_bayou" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:cypress_willow" : 3,
          "dtbop:oak_bush" : 1
        }
      },
      "density": 1.0,
      "chance": 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:burnt_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:burnt" : 3,
          "dtbop:dead" : 1
        }
      },
      "density": 0.7,
      "chance": 0.3,
      "forestness" : 0.25
    }
  },
  {
    "select": { "name": "biomesoplenty:dead_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:dead" : 1,
          "dtbop:dying" : 2,
          "oak" : 2,
          "spruce" : 2
        }
      },
      "density": 0.7,
      "chance": 0.3,
      "forestness" : 0.25
    }
  },
  {
    "select": { "name": "biomesoplenty:tall_dead_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:tall_dead" : 2,
          "dtbop:tall_dying" : 4,
          "dtbop:dying" : 1
        }
      },
      "density": 1.0,
      "chance": 0.3,
      "forestness" : 0.25
    }
  },
  {
    "select": { "name": "biomesoplenty:wetland" },
    "apply": {
      "species" : "dtbop:willow",
      "density": 0.5,
      "chance": 0.75,
      "forestness" : 0.75
    }
  },
  {
    "select": { "name": "biomesoplenty:wetland_forest" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:willow" : 1,
          "spruce" : 3
        }
      },
      "density": [ 3.0 ],
      "chance": 1.0,
      "forestness" : 1.0
    }
  },
  {
    "select": { "name": "biomesoplenty:shroomy_wetland" },
    "apply": {
      "species" : "dtbop:dark_oak_twiglet",
      "density": [ 2.0 ],
      "chance": 0.5
    }
  },
  {
    "select": { "name": "biomesoplenty:mystic_plains" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:magic_poplar" : 1,
          "dtbop:jacaranda" : 1
        }
      },
      "density": 0.5,
      "chance": 0.2
    }
  },
  {
    "select": { "name": "biomesoplenty:mystic_grove" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:large_magic_poplar" : 3,
          "dtbop:magic_poplar" : 5,
          "dtbop:flowering_oak" : 4,
          "dtbop:jacaranda" : 3,
          "dtbop:mega_dark_oak" : 1
        }
      },
      "density": 1.0,
      "chance": 1.0
    }
  },

  {
    "select": { "name": "biomesoplenty:undergrowth" },
    "apply": {
      "species" : {
        "random" : {
          "dtbop:hellbark" : 1,
          "dtbop:hellbark_bush" : 7
        }
      },
      "density": 0.6,
      "chance": 0.8
    }
  }
]
