Minecraft / Mods

Timber Datapack

  • 20 diamonds
  • 14,211 views, 486 today
  • 4,867 downloads, 159 today
  • 31 comments
  • 15 favorites
  • 20
  • 15
  • playlist_add
  • share
  • more_horiz
avatar Moggla
Level 30 : Artisan Engineer
6
The Timber Datapack allows you to instantly chop down a tree just by breaking one log. Sneaking while breaking will not chop the tree.
use:/function timber:help to get descriptions and options for this datapack.

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: false to true
  4. Open the server.

befor/after

Installation instructions:


  1. Download the Datapack
  2. Go to ".minecraft\saves\<your world name>\datapacks"
  3. Place the .zip file inside the datapacks folder
  4. Rejoin the world or use /reload
  5. Finished! Enjoy!

Features:

  • Chops only trees¹
  • Does not interfere with other tree types
  • Sneaking while breaking will not chop the tree
  • Tools will wear out
  • Option to destroy leaves
  • Leaves drop normal loot

¹ Trees are defined as logs that are next to generated leaves.


Chopping trees has never been so easy!

big_tree
CreditInspired by Timber Mod and ChopTree Plugin
Progress100% complete
Game VersionMinecraft 1.13
Tags

1 Update Logs

Update #1.13.2 : 01/12/2019 4:17:26 pmJan 12th

Different tree types will not interfere with each other.

The Datapack will chop only trees now.

Comments : 31

star Login or register to post a comment.

Show Comments

1 - 31 of 31

I'll report a bug i saw here

It decimated an entire dark oak forest inexplicably

but otherwise great concept
  • Moggla
  • Level 30
  • Artisan Engineer
  • January 23, 2019, 7:19 am
I'm having a hard time replecating your bug. Could it be that all the dark oak trees were connected to each other with logs?
Eh, most likely

no matter your datapacks good none-the-less

I've found myself a little bug with your datapack! Aside from chopping trees, literally every other block that you break with an axe will repair your axe. It's great otherwise, just the added durability from chopping trees gets immediately negated by all other blocks. Good datapack besides that!
  • Moggla
  • Level 30
  • Artisan Engineer
  • January 23, 2019, 6:55 am
Thanks for reporting this bug! I will patch it as soon as possible! :D
Hate to keep bugging you, but do you think the fix will be quick, like tonight or tomorrow, or is it more complex than I probably think it is?
I was actually trying myself to pick through the code in run.mcfunction but I haven't the slightest clue of what I'm doing lol

Aside from adding a new function that states that all blocks not tagged as logs will remove x durability, but I'm not the one who knows what they're doing lol
  • Moggla
  • Level 30
  • Artisan Engineer
  • January 23, 2019, 10:19 am
It's an easy fix. I will upload it this weekend. And it's not bugging me :D

If you want to change it yourself:

edit run.mcfunction

On row 29:

replace

execute store result entity @s SelectedItem.tag.Damage int 1 run scoreboard players get durability timber

to

execute if score validate timber matches 1.. store result entity @s SelectedItem.tag.Damage int 1 run scoreboard players get durability timber
You're awesome. Thanks so much for the fix!
  • AlphaGodith
  • Level 29
  • Expert Dragon
  • January 21, 2019, 6:15 am
great mod! love that you can configure whether it breaks the leaves too or not. my only complaint is that it doesn't check for where nearby tree leaves should be, so if you cut down a tree that's close to another one you dont' want to cut, that other tree will get a chunk taken out of its canopy.
  • Moggla
  • Level 30
  • Artisan Engineer
  • January 23, 2019, 6:43 am
Yeah this is a downside of destroying leaves. I may do something about it in the future.

And thanks for your comment :D
This doesn't seem to do anything? Do I need anything else installed like Forge? Is it different on a Mac with OSX High Sierra? I have the zip inside ~/Library/Application Support/minecraft/saves/myworld/datapacks
Weird I restarted a second time and now it works! My bad
  • HAZZER0
  • Level 1
  • New Miner
  • January 12, 2019, 10:53 pm
works great :)
  • Meldince
  • Level 1
  • New Miner
  • January 10, 2019, 10:38 am
See some concern about it taking apart wood made structures (A house, etc). No comment saying if it will.
Please respond so more people can try this without fear of losing minutes and hours or days and weeks of work!
  • Moggla
  • Level 30
  • Artisan Engineer
  • January 12, 2019, 6:29 am
Currently this data pack would destroy wood building, but I'm working on a function that checks if the chopped wood is a tree.
  • Meldince
  • Level 1
  • New Miner
  • January 18, 2019, 5:28 am
thanks for adding this!

This MOD sounds good but it is useless if it doesn't check if the thing you chop down is really a tree or just a log. I would cry if the entire frame of my 10 hours build house would vanish. Is there no boolean you could use to check for if the log has been spawned because of tree generation or just any other flag?





Leaves alone would not work because there are many houses like Grian's ones where leaves are used for styling a house.

  • Moggla
  • Level 30
  • Artisan Engineer
  • January 12, 2019, 6:34 am
I wouldn't say it is useless in its current state. But I totally agree that it would be better to check that that's a tree you're chopping.
And yes there's no boolean to check if it is a tree or not. I may have a solution for this probleme. I will try to update this datapack!
Do all of these mods require a computer or the action to unzip it?
  • PartumCreed
  • Level 18
  • Journeyman Warrior
  • November 24, 2018, 2:34 am
Yeah, unfortunately.
  • Nattehine
  • Level 12
  • Journeyman Fish
  • November 22, 2018, 9:10 am
Will this work on logs that are not connected to leaves? Like for instance if you have a log cabin and just want to make a window in the wall, will it destroy the entire house?
  • Moggla
  • Level 30
  • Artisan Engineer
  • November 25, 2018, 1:13 am
It would destroy your entire house, but you can prevent it with sneaking while breaking wood.
  • Dem0n
  • Level 1
  • New Miner
  • November 10, 2018, 12:56 pm
Keep getting this error.


Couldn't load function at timber:functions/uninstall.mcfunction
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 0: Incorrect argument for command at position 42: ...ooden_axe <--[HERE]
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_191]
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_191]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 0: Incorrect argument for command at position 42: ...ooden_axe <--[HERE]
at br.a(SourceFile:61) ~[server.jar:?]
at pp.a(SourceFile:147) ~[server.jar:?]
  • Moggla
  • Level 30
  • Artisan Engineer
  • November 18, 2018, 11:03 am
This Datapack requires at least the version 1.13.
  • Dem0n
  • Level 1
  • New Miner
  • November 23, 2018, 6:51 am
Thats the version Im running.
  • DiGGyRoCk
  • Level 1
  • New Miner
  • November 9, 2018, 5:55 am
Will this destroy leaves as well and give the regular drops? IE: saplings, apples, etc. Thanks for taking the time to respond - and of course, for creating this mod...
  • Moggla
  • Level 30
  • Artisan Engineer
  • November 10, 2018, 11:36 am
Destroying leaves can enable/disable via /function timber:help

I always help gladly :D

EDIT: And yes it drops the regular things
  • IDerpsI
  • Level 1
  • New Miner
  • November 3, 2018, 9:36 pm
cant get it to work on the linux server for windows. tryed ure installation guide but nada.
  • Moggla
  • Level 30
  • Artisan Engineer
  • November 10, 2018, 11:43 am

Have you unzipped the Datapack? You shouldn't unzip it.

Are you in creative mode? It only works in survival.
treecapitator?

1 - 31 of 31

Show Comments

Search

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome