Tree Chop Mod — Configuration
In-Game Settings and UI
TreeChop features a robust in-game settings menu, typically accessed by pressing N or F6. This allows players to customize their experience without leaving the game.
Key Settings
- Chopping Enabled: Toggles the entire mod on or off.
- Felling Enabled: Toggles whether the whole tree breaks at once or just the chopped block.
- Sneak Inverts: Changes whether sneaking enables or disables chopping.
- Only Chop with Tool: If enabled, you must use an axe to trigger the chopping mechanic.
- Trees Must Have Leaves: A safety feature that prevents you from accidentally "chopping" wooden structures that don't have leaf blocks attached.
Configuration
For server administrators, the mod provides extensive configuration via the treechop-common.toml file.
Chop Counting Algorithms
The mod allows you to choose how many chops a tree requires:
1. Logarithmic (Default): chops = a * log(blocks) + 1. This provides a balanced feel where large trees are harder but not tedious.
2. Linear: chops = (blocks * multiplier) + offset. Allows for a 1-to-1 ratio if desired.
3. Constant: Every tree takes the same number of chops regardless of size.
| Option | Default | Description |
|---|---|---|
maxTreeBlocks |
512 | The maximum number of logs a tree can have before the mod ignores it. |
maxLeavesBlocks |
1024 | Limits how many leaves are destroyed during felling. |
breakLeaves |
true | Whether leaves should be destroyed when a tree is felled. |
copyShearsEffect |
false | If true, felling leaves will act as if you used shears (dropping the leaf block). |
Commands
The mod includes several administrative commands for testing and server management:
/treechop chop <x> <y> <z>: Simulates a chop at the specified coordinates./treechop fell <x> <y> <z>: Instantly fells the tree at the specified coordinates./treechop configure: Opens the configuration menu (same as the hotkey)./treechop reload: Reloads the configuration files from the disk.