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: 1884
Follow Unfollow 47

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:

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
v1.0.1 1568 Aug 20th 2022 at 7:01 AM Show OneStick_v1.0.1g1.17.0-rc.1.Release.zip
v1.0.0 316 Aug 18th 2022 at 4:21 AM Show onestick-v1.0.0-g1.16.5.zip

4 Comments (oldest first | newest first)

💬 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!

💬 Eforen, 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)