SWRPG TREE CHOPPER Mod - ShortWlf/mcswrpg GitHub Wiki

Swrpgtrees Mod

The Swrpgtrees mod introduces a tree-felling mechanic to Minecraft, allowing players to instantly fell entire trees under certain conditions.

Key Features

  • Axe-Based Tree Felling: The tree-felling mechanic is triggered when a player breaks the bottom log of a tree while sneaking and using an axe.
  • Configurable Log and Leaf Blocks: The mod allows server administrators to configure which blocks are considered valid log and leaf blocks via the "config/swrpgtrees.json" configuration file.
  • Instant Tree Fall: When triggered, the mod instantly breaks all connected log and leaf blocks within a defined bounding box around the broken log.
  • Bounding Box Control: The horizontal radius and vertical height of the bounding box used for tree felling can be adjusted.
  • Duplicate Processing Prevention: The mod includes a mechanism to prevent duplicate processing of the same tree, ensuring stability.
  • Default Configuration: The mod creates a default configuration file if one does not exist.
  • Configuration Reloading: The configuration file is loaded when the mod initializes.