Minecraft Data Packs / Tool

Timber Datapack

    • 721,332 views, 241 today
    • 221,110 downloads, 57 today
    • 736
    • 811
    • 591
    Moggla avatar Moggla
    Level 76 : Legendary Engineer

    Current Version v3.1.4 [​1.18] Other versions are at the bottom of this submission


    This is a really useful addition for those who don't want to spend expensive time on gathering resources! After installing, the Timber Datapack allows you to instantly chop down a tree just by breaking one log with any axe.
    By default, sneaking while breaking will not chop the tree.
    Optionally, you can adjust everything as you wish.

    Under the Hood Features

    - Chops only trees¹
    - Works with every type of log²
    - Supports custom trees³
    - Leaves drop normal loot
    - Takes account of any enchantment
    - Many options for customization

    ¹ Trees are defined as logs that are next to naturally generated leaves.
    ² Logs in the tag #minecraft:logs.
    ³ All kind of custom trees like from BiomesO'Plenty, The Biome Overhaul, Terrestria and Traverse.


    chopNether tree Huge mushroom
    *Enable the option "Chop Fungi"


    To get descriptions and settings for this datapack use:

    /function timber:help
    If you don't have access to commands in your singleplayer world:
    1. Pause the game
    2. Click on Open to LAN
    3. In the options, change Allow Cheats: OFF to ON
    4. Click on Start LAN World

    Every player can individually turn the datapack ON or OFF by using:

    /trigger TimberToggle


    Advanced Manual

    Click to reveal


    This Advanced Manual will help you to add or change certain elements of this datapack which require editing of your side.


    In order to add or change the following you have to put the content of the datapack (Timber.zip) in a folder called "Timber".
    There are directories to different type of files. Open them with any kind of text editor. Below the directories is the code which you have to insert or replace (it's stated which one of these).


    If you have difficulties or errors in trying to change the timber datapack, then please enable the output log (Minecraft Launcher → Settings → General → Enable "Open output log when Minecraft: Java Edition starts").

    Add modded axes:
    (for example the emeraldaxe from supertools)

    (Small note: Your modded axe will break after or below zero durability. This shouldn't be a problem. It's not really worth to implement a fix, because you're only able to chop a few more logs)

    Get the name of your modded axe:
    Go ingame and type "/scoreboard objectives add x minecraft.used:" in chat. Now search for your modded axe there.
    In my example it's called "supertools.emeraldaxe".

    Give your modded axe a nickname:
    In my case a gave him the name "timber_emera_axe".
    This is technically the name of your axe used by the datapack. You can name it however you like just look that you write it everywhere the same and that you follow these points:
    • Always use the prefix "timber_"
    • The max. length of the nickname is "timber_123456789"
    • Don't use names twice for other axes!

    Timber/data/timber/functions/init.mcfunctionsAdd this code at the place where similar commands are
    scoreboard objectives add timber_emera_axe minecraft.used:supertools.emeraldaxe

    Timber/data/timber/functions/used_axe.mcfunctionsAdd this code at the place where similar commands are
    execute unless score @s timber_disabled matches 1.. if score @s timber_emera_axe matches 1.. run function timber:sneaking
    Also add this code at the place where similar commands are
    scoreboard players set @s timber_emera_axe 0

    Timber/data/timber/predicates/used_axe.jsonThe content of the upper part of this file should look like this.
      "condition": "minecraft:alternative",
      "terms": [
          "condition": "minecraft:entity_scores",
          "entity": "this",
          "scores": {
            "timber_emera_axe": {
              "min": 1,
              "max": 2147483647
          "condition": "minecraft:entity_scores",
          "entity": "this",
          "scores": {
            "timber_w_axe": {
              "min": 1,
              "max": 2147483647

    Timber/data/timber/tags/items/axes.jsonThe content should look like this. Don't forget to add the "," after the netherite_axe and to change the ":" between supertools and emeraldaxe!

    Installation instructions

    - Download the Datapack
    - Start Minecraft (Java Edition)
    - Click on "Singleplayer"
    - Select your world in which to install this Datapack (Don't click on play!)
    - Click on "Edit"
    - Click on "Open World Folder"
    - Place the .zip file inside the datapacks folder (Don't unzip it!)
    - Join/Rejoin the world or use /reload
    - Finished! Enjoy!

    Note: It does not work in creative mode!

    Server Compatibility

    Server softwareNotes
    Vanilla / Realm
    CraftBukkit-Huge mushrooms don't always drop loot
    -Whole stack of saplings that got auto-planted get deleted rather than only one
    Spigot-Huge mushrooms don't always drop loot
    -Whole stack of saplings that got auto-planted get deleted rather than only one
    Paper-Huge mushrooms don't always drop loot
    -Whole stack of saplings that got auto-planted get deleted rather than only one

    As of October 4th, 2020

    Other Minecraft servers, unlike Vanilla or Realm, often do not fully support Datapacks.

    Other Versions

    Ad-free, older and snapshot (work in progress) Versions

    . Download .

    Timber v3.x.xMinecraft 1.17 – 1.18
    Timber v2.x.xMinecraft 1.16
    Timber v1.x.xMinecraft 1.15

    x = any number

    Legal Terms

    Click here to reveal
    What you are allowed to do:

    - Change this datapack for your own use
    - Look at my code to learn how I do things
    - Use the same design as my settings menu

    What you are not allowed to do:

    - Upload this datapack to another website (Not even a changed versions)
    - Impersonate the creator


    Certified Datapack
    CreditInspired by Timber Mod and ChopTree Plugin, Map of the First Picture is from DarthEnigma
    CompatibilityMinecraft 1.15
    toMinecraft 1.18

    25 Update Logs

    Update v3.1.4 : by Moggla 12/08/2021 11:11:08 amDec 8th, 2021

    Updated to 1.18

    Create an account or sign in to comment.

    05/13/2022 2:56 pm
    Level 16 : Journeyman Miner
    CalebDaMaker avatar
    Is there a mod/datapack you used for those dope trees on the thumbnail? If it is can you link it pls? Its looks so dope
    05/03/2022 5:12 pm
    Level 1 : New Miner
    GingerSnapNewt avatar
    I am looking for some help with the 1.16.5 Minecraft version Timber v2.1.2
    Everything is showing that the data pack is loaded but when I do the /trigger TimberToggle I get "Unknow scoreboard objective "TimberToggle" " and I have to chop the tree one block at a time.

    I have to use 1.16.5 Minecraft because my computer at present does not work with the newer versions.
    Thanks for any help you can give.
    04/03/2022 9:52 am
    Level 35 : Artisan Crafter
    Yekulten avatar
    How well does this work within close groups of trees?
    03/19/2022 4:08 pm
    Level 8 : Apprentice Explorer
    MechaKillerRichMC avatar
    Did you post that this data pack is now compatible with 1.18.2?
    03/13/2022 1:43 pmhistory
    Level 1 : New Explorer
    Hybrid_Hydra avatar
    I'm at a bit of a loss here. I'm trying to get the Gilded Netherite Axe (additionaladditions:gilded_netherite_axe) to work with this datapack, and following the instructions above seems to have resulted in nada. any help would be much appreciated as i do love this datapack.

    Ive added the correct line to the files listed above but still no results... any debugging tips? i've triple checked all of the files and tags..
    03/14/2022 11:28 am
    Level 1 : New Explorer
    Hybrid_Hydra avatar
    Ok, so i'm not 100% sure as to why it didn't work with the edits above, but i basically had to go in change EVERY FILE that involves an axe, the scoreboards related to durability, and duplicate the netherite_axe file in the setting/toggle folder, modified to my axe, also adding it to the toggle menu. (the menu bit was overkill, but i wanted it to work....) maybe just me having the issue, but yeah.. lol. fixed. :P
    03/10/2022 11:47 amhistory
    Level 1 : New Miner
    Ares6359 avatar
    What a good datapack I am doing wonderfully for my survival
    03/04/2022 1:47 pm
    Level 8 : Apprentice Explorer
    MechaKillerRichMC avatar
    Now the pack.mcmeta is 9 for 1.18.2
    03/04/2022 2:52 pm
    Level 76 : Legendary Engineer
    Moggla avatar
    1.18.2 is already out :O !

    Thanks, I will update the pack.mcmeta count.
    01/15/2022 8:22 pm
    Level 1 : New Miner
    Nightwolf32 avatar
    When attempting to download this datapack, Mediafire blocks the ability to download the new version 3.1.4 with a Dangerous File Blocked error message. The 3.1.3 version can still be downloaded. Does that version work with 1.18?
    Planet Minecraft


    © 2010 - 2022