HT's TreeChop overrides ChopDown behavior #102

Open
opened 2022-11-21 17:26:07 +00:00 by import_user_oitsjustjose_95mQ · 3 comments
import_user_oitsjustjose_95mQ commented 2022-11-21 17:26:07 +00:00 (Migrated from git.oitsjustjose.com)

Hey folks, just letting you know, it was reported to me (https://github.com/hammertater/treechop/issues/47#issuecomment-1207270289) that TreeChop (https://www.curseforge.com/minecraft/mc-mods/treechop) overrides the ChopDown behavior in V-Tweaks. Not sure if it's worth the effort, but let me know if you're interested in adding compatibility between the two mods.

Hey folks, just letting you know, it was reported to me (https://github.com/hammertater/treechop/issues/47#issuecomment-1207270289) that TreeChop (https://www.curseforge.com/minecraft/mc-mods/treechop) overrides the ChopDown behavior in V-Tweaks. Not sure if it's worth the effort, but let me know if you're interested in adding compatibility between the two mods.
import_user_oitsjustjose_95mQ commented 2022-11-25 17:51:00 +00:00 (Migrated from git.oitsjustjose.com)

@hammertater HECK YEAH! I love TreeChop, I've been using it for a while now. I'm glad to add compatibility on my end or if you just wanna borrow my code you're welcome to do that and I can add a check to disable my feature if TreeChop is loaded.

`@hammertater` HECK YEAH! I love TreeChop, I've been using it for a while now. I'm glad to add compatibility on my end or if you just wanna borrow my code you're welcome to do that and I can add a check to disable my feature if TreeChop is loaded.
import_user_oitsjustjose_95mQ commented 2023-12-07 03:04:43 +00:00 (Migrated from git.oitsjustjose.com)

Sorry for forgetting about this! Disabling your tree breaking stuff when TreeChop's active sounds fair. I'm trying to avoid adding this kind of code into TreeChop, as there are other mods out there that make trees fall and I'd like to leave the door open for them to add compatibility.

If you're still interested, you could use TreeChop's API to override tree-felling behavior by listening to BeforeFellEvent (currently only on Minecraft 1.19.2, 1.20.1 will come soon) and canceling it. Then, users would probably want to use TreeChop's configs to reduce the chops needed to fell. I'm happy to help if you run into trouble!

Sorry for forgetting about this! Disabling your tree breaking stuff when TreeChop's active sounds fair. I'm trying to avoid adding this kind of code into TreeChop, as there are other mods out there that make trees fall and I'd like to leave the door open for them to add compatibility. If you're still interested, you could use TreeChop's API to override tree-felling behavior by listening to `BeforeFellEvent` (**currently only on Minecraft 1.19.2, 1.20.1 will come soon**) and canceling it. Then, users would probably want to use TreeChop's configs to reduce the chops needed to fell. I'm happy to help if you run into trouble!
import_user_oitsjustjose_95mQ commented 2025-06-22 04:15:16 +00:00 (Migrated from git.oitsjustjose.com)

Any updates on this because I would love for both mods to work together, it would be the perfect balance!

Any updates on this because I would love for both mods to work together, it would be the perfect balance!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
oitsjustjose/V-Tweaks#102
No description provided.