project-360386 - Enhanced Axes for Efficient Wood Harvesting

This mod introduces special high-efficiency axes that significantly simplify the tree-cutting process. With these tools, you can automatically fell entire trees with a single strike, saving time and effort when gathering wood.
For situations requiring standard axe usage, simply crouch - the tool will function like a regular vanilla axe.
Leaf Collection Features
When the leaf collection option is enabled, the system will only consider foliage that aligns with the game's standard mechanics regarding natural decay. Starting from snapshot 20w20b, the Silk Touch enchantment also applies to leaves.
System Requirements
Required Components:

Crafting Recipes
Creating Enhanced Axes:

Netherite Upgrade Recipe (Smithing Table):

Settings and Configuration
The settings menu allows you to choose whether to collect foliage when cutting down trees. Access to this menu requires the Mod Menu for Fabric mod.
With leaf collection enabled, the "Leaf Scanning Range" parameter determines the search area for collectible foliage. Higher values may slow down the process in dense forests where trees share connected canopies.

Debug Functions
Starting from version 2.0.7:
When the "Show Debug Lines" option is activated, players can use Shift+Right Click on a log to see the outline of all logs that will be harvested when mining that log. Using the combination again removes the outline.

Starting from version 2.0.9:
The "Show Debug Highlight" option allows using Shift+Right Click on a log to highlight all connected logs that will be harvested. Repeating the action removes the highlight.

Important Notes
- If you switch the item in your main hand or throw the enhanced axe while the tree-cutting process is ongoing, the automatic harvesting will be interrupted.