V-Tweaks

V-Tweaks

11M Downloads

HT's TreeChop overrides ChopDown behavior

hammertater opened this issue · 3 comments

commented

Hey folks, just letting you know, it was reported to me (hammertater/treechop#47 (comment)) 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.

commented

@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.

commented

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!

commented

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