Added 3 different tree breaking modes:
Code (YAML):
# Tree options: FALL, DESTROY, FALL_DESTROY
# FALL - The tree will fall naturally as a physics animation.
# DESTROY - The tree will be instantly destroyed (no animation).
# FALL_DESTROY - The tree will fall first, then get destroyed after landing.
You'll have a new file called structures.yml where you can change this settings:
Code (YAML):
# REAL LIFE
# CREATED BY ALANDIODA
# VERSION 1.2.0
# STRUCTURES
# Realistic trees
trees:
enabled
: true
# Tree options: FALL, DESTROY, FALL_DESTROY
# FALL - The tree will fall naturally as a physics animation.
# DESTROY - The tree will be instantly destroyed (no animation).
# FALL_DESTROY - The tree will fall first, then get destroyed after landing.
option
: FALL
# Whether tree blocks should drop their respective items when destroyed.
on_destroy_do_drops
: true
# Which materials represent trees.
include_default_tree_materials
: true
extra_timber_materials
:
- OAK_WOOD
extra_foliage_materials
:
- OAK_LEAVES
constraints
:
# Minimum height of the tree (timber)
min_tree_height
: 3
# Maximum height of the tree (timber)
max_tree_height
: 45
# Maximum thickness of the trunk (timber) at y+1 level
max_tree_thickness
: 3
# Maximum width of the total tree (bounding box) in x/z
max_tree_width
: 30
# Max distance between connected timber blocks (0 = adjacent, 1 = one block gap)
max_timber_distance
: 1
# Max distance foliage can be from timberrr
max_foliage_distance
: 5