Mods / OneStick - TreeFellingFix

Category: #Other #QoL #Tweak
Author: Eforen
Side: Both
Created: Aug 18th 2022 at 3:50 AM
Last modified: Aug 20th 2022 at 7:01 AM
Downloads: 5154
Follow Unfollow 89

Latest file for Various v1.17.x:
OneStick_v1.0.1g1.17.0-rc.1.Release.zip 1-click install


One Stick Mod to rule them all...

And in darkness bind them!!!

Wait a second sorry thats umm something else... don't mind that... anyhow... where was I? oh yeah I fixed a thing...

Currently just fixes what appears to be a bug in the vanilla axe code. 

When felling a tree the branchy leaves rarely ever drop sticks.

The game code seems to indicate that they should drop sticks around 80% of the time when felling the tree.

I started with this number as a static number but that did not feel right too many sticks and no ramp when using better axes.

So now it's default config is to ramp from 10% at a teir 0 axe (if they exist) to 80% with a teir 5 axe. This cap at 80% means that its still more efficent to manually harvest the branches before you chop down the tree but still effective.

I am about to launch the Mod on the ModDB and will update below when I have a build there.

Plans:

I plan to make several other probably optional additions to this like sane craftable stick options for more advanced gameplay. See the Github for details, and please feel free to suggest more stick related goodness.

Links:

Version Compatability

Tested in 1.19.8 seems to work fine and I have not gotten any Issue Reports

Config Options:

 

BranchDropRateStoneAxe

Default: 0.8

The chance (0-1) that a tree will drop a branch when felled by a stone axe.

 

BranchDropRateAxeMetal

Default: 0.8

The chance (0-1) that a tree will drop a branch when felled by a metal axe.

 

UseTierMode

Default: true

If true the mod will use the following two options to calculate the chance a tree will drop a branch. If false it will use the above two options.

 

ToolTierZeroFellingBranchDropRate

Default: 0.1

The chance (0-1) that a tree will drop a branch when felled by a tool with a harvest level of 0.

 

ToolTierFiveFellingBranchDropRate

Default: 0.8

The chance (0-1) that a tree will drop a branch when felled by a tool with a harvest level of 5. This is the maximum harvest level.

 

DebugMode

Default: false

If true the mod will log extra information to the console.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.1 4659 Aug 20th 2022 at 7:01 AM Show OneStick_v1.0.1g1.17.0-rc.1.Release.zip Install now
v1.0.0 495 Aug 18th 2022 at 4:21 AM Show onestick-v1.0.0-g1.16.5.zip Install now

10 Comments (oldest first | newest first)

💬 EforenAuthor, Oct 14th at 8:35 PM

I am pleased that this still seems to work fine. (1.19.8) I will likely rebuild it sometime soon for the metadata.

Also Gizmagus I will look into resin I have some fun ideas around this

💬 Aurymn, Sep 7th 2023 at 8:13 AM

functioning just fine with NET7 1.18.10

💬 Fefa, Jul 30th 2023 at 8:25 PM

i am using it in Net7 1.18.6   and works just fine.

💬 Corvie, Apr 21st 2023 at 4:49 PM

Will this mod work as-is in 1.18?

💬 DanaCraluminum, Feb 22nd 2023 at 11:40 AM

Gizmagus I just made such mod. LINK

💬 Gizmagus, Feb 22nd 2023 at 9:01 AM

Can you add the fuction to drop RESIN when a tree is felled. Currently resin does NOT DROP. BTW Thank You for this mod! :).

💬 Ziru, Dec 7th 2022 at 12:07 AM

Is this working for 1.17.9?

if not, can you update this mod?

💬 Blazha, Oct 18th 2022 at 11:24 AM

It's not a bug, it's a mechanic that makes you craft and use sheers later when you need more sticks. This saves some time though

 

P.S. Do not try to cut down one of those big oak, kapok or redwood trees!

💬 EforenAuthor, Sep 12th 2022 at 4:20 PM

@VintageDerek yes it does indeed increase the drop rate of seeds because it is registering the break of the leaf blocks as if directly harvested. This is scaled based on tool rank but with default settings it will never be better then if each was directly harvested. How ever if you desire it to be higher there is nothing stoping you from configuring it higher then 1 (100%). 

💬 ToastyDerek, Sep 5th 2022 at 4:49 PM

Does it also increase drop rate of seeds?

(edit comment delete)