"Tree Shifter" is a Minecraft plugin created with the SpigotMC API, compatible with Minecraft versions from 1.20 down to 1.8. It brings a fresh and in-theme Tree Feller plugin experience, more aligned with the vanilla Minecraft feel. Unlike plugins with "realistic" tree chopping effects, which might seem out of place in the Minecraft world, Tree Shifter introduces a unique tree chopping mechanism.
In the Tree Shifter approach, instead of instantly removing the chopped block or making the entire tree fall, the plugin scans the tree and targets the furthest block for removal. This alteration retains the standard tree chopping time while leaving the tree floating. Players then climb the tree to extract the logs at their own pace, providing a novel gameplay experience.
Tree Shifter employs an intelligent algorithm to identify trees and execute a gradual removal process. The plugin allows customization of algorithm settings to suit both high-end and low-end servers. Initially designed for vanilla Minecraft, Tree Shifter has been tested and proven to work seamlessly with custom world generators, including servers featuring enormous custom-built trees in their world.
Code (YAML):
# Set the scan distance for the algorithm to search for logs when scanning a tree. Setting to 1 means each block in the tree must be adjacent. For larger custom trees, increase this value to ensure the entire tree is scanned. scanDistance: 2
# Enable or disable searching downward for logs during tree scanning. When set to true and chopping in a dense forest, there's a chance the algorithm will chop surrounding trees. searchDownward: true
# Set the maximum search distance for the algorithm. maxSearch: 500
# Enable or disable sending action bar updates to the player when they chop down a tree. The action bar displays the number of blocks remaining in the tree. sendActionBar: true
# Enable or disable the TreeFeller plugin. active: true