Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.


CraftBook/Tree Lopper

From Wiki
Jump to: navigation, search

Tree Lopper is a mechanic that allows you to cut down an entire tree with a single swing of an axe (Similar to the TreeCapitator client mod, but with more features). This feature respects block protection and logging plugins, so you can rest easy knowing your spawn and protected buildings are safe from griefers.

In the configuration, you can choose what items cause this effect to occur, and you can even choose what blocks this effect occurs on. For example, you could just have it use picks.. And use this effect on ore blocks. You can also change if this feature will search diagonals for usable block, instead of just checking direct faces. You can also choose the max size of the tree to break, to combat lag caused by massive tree breakages.


Simply break an allowed block with an allowed item, and it will destroy the whole thing.


Permission Node Effect
craftbook.mech.treelopper.use Allows use of the TreeLopper.
craftbook.mech.treelopper.sapling Allows the TreeLopper to plant saplings (if enabled).


Configuration Node and Path Default Value Effect
mechanics.tree-lopper.enable false Enables the Tree Lopper mechanic.
mechanics.tree-lopper.block-list [LOG, LOG_2] A list of log blocks. This can be modified to include more logs. (for mod support etc)
mechanics.tree-lopper.tool-list [IRON_AXE, WOOD_AXE, STONE_AXE, DIAMOND_AXE, GOLD_AXE] A list of tools that can trigger the TreeLopper mechanic.
mechanics.tree-lopper.max-size 30 The maximum amount of blocks the TreeLopper can break.
mechanics.tree-lopper.allow-diagonals false Allow the TreeLopper to break blocks that are diagonal from each other.
mechanics.tree-lopper.enforce-data false Make sure the blocks broken by TreeLopper all share the same data values. false If enabled, TreeLopper will plant a sapling automatically when a tree is broken.
mechanics.tree-lopper.break-leaves false If enabled, TreeLopper will break leaves connected to the tree. (If enforce-data is enabled, will only break leaves of same type)

Navigation menu