HT's TreeChop

HT's TreeChop

3M Downloads

Suggestion: make Silent Gear saws (and similar items) do multiple chops instead of breaking the whole tree

hammertater opened this issue ยท 3 comments

commented

...as suggested by this nice person.

Most can be made compatible using the "overrides" config, but note that when chopping is disabled, overridden items will revert to their default behavior. Ideally, mods can enable compatibility by implementing ht.treechop.api.IChoppingItem.

Some mods with super axes:

1.12.2:

Fabric:

commented

Removed the overrides system. Other mods should use the API.

commented

Or maybe I'll add an API for registering how many chops an axe should do and let mods (or compatibility mods) decide for themselves how their axes should behave alongside TreeChop.

commented

Can't add compatibility with LumberJack; it uses BreakEvents to initiate felling instead of Item.onBlockDestroyed

See https://github.com/DoubleDoorDevelopment/Lumberjack/blob/1.16.X/src/main/java/net/doubledoordev/lumberjack/util/EventHandler.java

Edit: actually, it seems to work with the new configurable overrides. Not sure if there will be ugly side effects.