Download HT's TreeChop — Minecraft Mods — MetaMods
HT's TreeChop

HT's TreeChop

Active

Downloads

22

Last update

7 months ago

Versions

1.12.2 — 1.21.1
Client and server
Fabric
Forge
Neoforge
Game mechanics
Utils

HT's TreeChop

HT's TreeChop mod fundamentally changes the tree cutting process in Minecraft. Instead of destroying each block individually, you can fell entire trees by repeatedly striking a single block. The larger the tree, the more strikes are required for complete destruction. This mechanic is inspired by mods like Treecapitator.

Key Features

  • Quiet operation even with large trees
  • Support for mushrooms and fungal blocks
  • Intelligent foliage destruction
  • Compatibility with most modded trees

Usage Features

Tree chopping doesn't require an axe, but without one the process takes significantly longer. Strikes on different blocks of the same tree accumulate, allowing cooperative work with other players to fell large specimens. Large trees require more total strikes but fewer strikes per individual block.

For normal block destruction (without activating chopping), hold the sneak key while striking.

By default, the number of required strikes is calculated using a logarithmic formula. Here are approximate values:

Blocks in Tree Strikes Required
1 1
3 3
5 4
10 7
20 12
50 19
100 25

Compatibility

Special Mod Support:

  • Tinker's Construct (1.18.2): broad axes perform additional strikes. All axes receive bonuses with "expanded" upgrades
  • Silent Gear (1.18.2+): saws perform additional strikes
  • Project MMO (1.18.2+): chopping grants woodcutting experience
  • Jade, WTHIT, TheOneProbe (1.18.2+): display of block count in trees and required strikes

Known Issues:

  • Multi Mine (1.18.2 and earlier): choppable blocks need to be added to Multi Mine's blacklist
  • Some modded trees leave floating blocks after felling

Frequently Asked Questions

How to disable chopping?

Press N to open HT's TreeChop settings and disable the "chopping" option.

How to make chopping active only while sneaking?

Disable chopping in settings, then it will automatically activate when sneaking.

How to prevent accidental house chopping?

Enable the "trees must have leaves" setting - chopping will only work on trees connected to foliage.

What to do if started chopping a house?

Destroy blocks while holding the sneak key or temporarily disable chopping.

Why did chopping stop working?

Check if chopping is enabled in settings (N key). If the problem persists, there may be a conflict with another mod.

Why do floating leaves remain?

This may be due to improper configuration of modded trees or too much foliage.

Why do floating trunks remain?

The problem is characteristic of modded trees with non-standard shapes or overly large specimens.

How to disable mushroom chopping?

Change the blockTagForDetectingLogs setting in the configuration file.

Can the mod be included in a modpack?

Yes, usage in modpacks is permitted.

Configuration Examples

Main Configuration File

[permissions]
    [permissions.choppingEnabled]
        canBeFalse = true
        canBeTrue = true

    [permissions.fellingEnabled]
        canBeFalse = true
        canBeTrue = true

    [permissions.sneakBehavior]
        canBeNone = true
        canBeInvertFelling = true
        canBeInvertChopping = true

    [permissions.treeMustHaveLeaves]
        canBeFalse = true
        canBeTrue = true

    [permissions.chopInCreativeMode]
        canBeFalse = true
        canBeTrue = true

[general]
    # If false, items from chopped blocks will be destroyed
    dropLootForChoppedBlocks = true

[treeDetection]
    # Maximum number of blocks detected as one tree
    # Range: 1 ~ 8096
    maxTreeBlocks = 320
    # Maximum amount of foliage destroyed when felling a tree
    # Range: 1 ~ 8096
    maxLeavesBlocks = 1024
    # Destroy foliage when felling a tree
    breakLeaves = true
    # Ignore indestructible foliage during detection
    ignorePersistentLeaves = true
    # Maximum distance from trunk for destroying non-standard foliage
    # Range: 0 ~ 16
    maxBreakLeavesDistance = 7

    [treeDetection.logs]
        # Blocks that can be chopped
        blocks = ["#treechop:choppables", "#minecraft:logs", "#forge:mushroom_stems"]
        # Blocks that cannot be chopped
        exceptions = ["minecraft:bamboo"]

    [treeDetection.leaves]
        # Blocks considered foliage
        blocks = ["#treechop:leaves_like", "#minecraft:leaves", "#minecraft:wart_blocks", "#forge:mushroom_caps", "minecraft:shroomlight"]
        # Blocks not considered foliage
        exceptions = []

[chopCounting]
    # Method for calculating strike count for tree felling
    # Allowed Values: LINEAR, LOGARITHMIC
    algorithm = "LOGARITHMIC"
    # Rounding of required strike count
    # Allowed Values: DOWN, NEAREST, UP
    rounding = "NEAREST"
    # Whether tree felling can require more strikes than blocks in the tree
    canRequireMoreChopsThanBlocks = false

    [chopCounting.logarithmic]
        # Determines strike count for tree felling
        # Range: 0.0 ~ 10000.0
        a = 10.0

    [chopCounting.linear]
        # Number of strikes per block for tree felling
        # Range: 0.0 ~ 7.0
        chopsPerBlock = 1.0
        # Base number of strikes for tree felling
        # Range: -10000.0 ~ 10000.0
        baseNumChops = 0.0

[compatibility]
    # Improved behavior for blocks with #forge:mushroom_stems tag
    mushroomStems = true
    # Compatibility with Carry On
    carryOn = true
    # Experience reward for chopping
    projectMMO = true
    # Compatibility with The One Probe
    theOneProbe = true

    [compatibility.general]
        # Prevent chopping on right-click
        preventChoppingOnRightClick = false
        # Prevent infinite loops during chopping
        preventChopRecursion = true
        # Chop only with correct tool
        choppingRequiresCorrectToolForDrops = true
        # Chop only with tools that speed up destruction
        choppingRequiresFastBreakingTool = true

        [compatibility.general.blacklist]
            # Blacklist or whitelist for tools
            # Allowed Values: BLACKLIST, WHITELIST
            blacklistOrWhitelist = "BLACKLIST"
            # List of items that should not chop
            items = ["#tconstruct:modifiable/harvest", "botania:terra_axe", "mekanism:atomic_disassembler", "@lumberjack", "practicaltools:iron_greataxe", "practicaltools:golden_greataxe", "practicaltools:diamond_greataxe", "practicaltools:netherite_greataxe"]

        [compatibility.general.fakePlayerChopSettings]
            # Use with caution! May cause conflicts
            choppingEnabled = false
            # Valid only with chopping enabled
            fellingEnabled = true
            treesMustHaveLeaves = true

    [compatibility.API]
        # Logging of TreeChop API usage
        verbose = false

    [compatibility.silentgear]
        # Compatibility with Silent Gear
        enabled = true
        # Number of strikes performed by a saw
        # Range: 1 ~ 10000
        sawChops = 5

    [compatibility.tinkersConstruct]
        # Compatibility with Tinker's Construct
        enabled = true
        # Number of strikes by tree-breaking tools
        # Range: 1 ~ 10000
        treeBreakingTools = 5
        # Number of strikes by wood-breaking tools
        # Range: 1 ~ 10000
        woodBreakingTools = 1
        # Strike count multiplier for expanded upgrade
        # Range: 1.0 ~ 10000.0
        expandedMultiplier = 2.0

[mod]
    # Enable/disable TreeChop without removing the mod
    enabled = true
    # Allow TreeChop to record debug information
    printDebugInfo = false

Client Configuration File

[chopping]
    # Default chopping setting
    choppingEnabled = true
    # Default tree felling setting
    fellingEnabled = true
    # Default sneak behavior
    # Allowed Values: NONE, INVERT_CHOPPING, INVERT_FELLING
    sneakBehavior = "INVERT_CHOPPING"
    # Ignore trees without foliage
    treesMustHaveLeaves = true
    # Allow chopping in creative mode
    chopInCreativeMode = false

[visuals]
    # Replace bark texture on interior sides of logs
    removeBarkOnInteriorLogs = true

    [visuals.choppingIndicator]
        # Show chopping indicator on screen
        enabled = true
        # Horizontal indicator offset
        # Range: -256 ~ 256
        xOffset = 16
        # Vertical indicator offset
        # Range: -256 ~ 256
        yOffset = 0

[settingsScreen]
    # Show felling options in game settings
    showFellingOptions = true
    # Show chat confirmations when using hotkeys
    showFeedbackMessages = true
    # Show tooltips in settings screen
    showTooltips = true
Project members
hammertater

hammertater

Developer

Created: 24 Apr 2023

ID: 665