Skip to content

Tree Packs: Families

supermassimo edited this page Apr 11, 2023 · 12 revisions

What is it

The families folder contains JSON files that define each family in dynamic trees. A family is the a base for species that share a common branch block. It sets general tree properties such as log block, maximum thickness and other if root blocks should be generated or not.

Properties

The following properties MUST be included:

  • "common_species": The default species for this family. It must also be defined in the Species folder
  • "common_leaves": The default leaves properties for this family. They must be defined in the Leaves Properties folder
  • "primitive_log": The block that the logs are made of. The tree should drop these as items when felled.
  • "primitive_stripped_log": The stripped version of the primitive log. (CAN BE OPTIONAL if disabled by generate_stripped_branch)

The following properties can be included:

  • "type": Allows for custom behavior beyond these properties. The options are {nether_fungus}. More can be added by addons. (Default is none)
  • "max_branch_radius": The maximum radius the block can be. 8 is a full block. (Default: 8. Min: 1. Max: 24)
  • "stick": The stick item that the tree drops when with the logs. (Default: minecraft:stick)
  • "generate_surface_root": If set to true, surface root blocks will be generated. (Default: false)
  • "generate_stripped_branch": Whether or not the tree can be stripped with an axe. (Default: true)
  • "branch_is_ladder": If true thin branches can be climbed by the player. (Default: true)
  • "max_signal_depth": The maximum number of blocks the tree signal will travel. This limits the size of the tree. (Default: 32)
  • "primary_thickness": The radius of the branches at the tips, next to the leaves. (Default: 1)
  • "secondary_thickness": The radius of the branches immediately after the ones at the tips. (Default: 2)
  • "conifer_variants": Set to true if any of its species has a conifer_topper GenFeature. (Default: false)
  • "loot_volume_multiplier": Multiplies the volume used to calculate the amount of logs and sticks dropped. (Default: 1.0)