Skip to content

3.2-SNAPSHOT

Latest
Compare
Choose a tag to compare
@Capri205 Capri205 released this 09 Oct 19:03
· 8 commits to master since this release

Support for multiple tree types spawning naturally in a biome. Renamed base set of biome tree files to support this. Placed Cottonwood into the FOREST biome by default.

IMPORTANT NOTES for version 3.2

Custom trees can be added to a biome by naming the tree and root files as such:

biome.<biome>-<name>.xml
biome.<biome>-<name>.root.xml

Where <biome> is the the biome in question - FOREST, BIRCH_FOREST, CHERRY_GROVE, DARK_FOREST, SWAMP, MANGROVE_SWAMP, JUNGLE, BADLANDS, SAVANNA and TAIGA,
hyphen separator between biome and tree name is required,
and <name> is anything you want to call the tree using lowercase and uppercase letters, numbers, underscore or hyphen.

For example. to have Oak, Cottonwood, and Bramble Wood trees spawn naturally in the FOREST biome, the file names could be something like this:

biome.FOREST-BrambleWood.xml (along with .root.xml file)
biome.FOREST-COTTONWOOD.xml (along with .root.xml file)
biome.FOREST-Oak.xml (along with .root.xml file)

The base set of biome tree files that come with the plugin have been renamed to include the tree name in the filename. So biome.FOREST.xml and biome.FOREST.root.xml were just copies of tree.OAK.xml and tree.OAK.root.xml, so are now called biome.FOREST-OAK.xml and biome.FOREST-OAK.root.xml. Additional tree types you create should follow this naming convention.

When a tree is going to be generated the tree files are read from the plugin directory for the biome in question, and a tree chosen at random from the selection. New trees can be placed in the folder and will be included in future selections. No restart or reload is required to get a new tree into a biome.

Report any issues on the github repository.