Incompatible with HT's TreeChop
If i chop tree with locked axe i chop it down with TreeChop mod. Is it possible to fix this problem? https://www.curseforge.com/minecraft/mc-mods/treechop/files/4013577
Mh I see the issue
The mixin is causing crashes after a TreeChop update, see https://github.com/hammertater/treechop/issues/215
Any classes that aren't in the ht.treechop.api package are potentially unstable, so instead of using mixins, you could prevent TreeChop from detecting trees using events. See https://github.com/hammertater/treechop/blob/main/fabric/src/main/java/ht/treechop/api/TreeChopEvents.java
Specifically, register a listener for the DETECT_TREE event that returns null whenever the player shouldn't be able to chop things. This should also stop TreeChop from showing an on-screen chop indicator, showing tree info in WAILA mods, etc., and will also stop TreeChop from running expensive tree detection checks
Fixed in newest version for 1.20.1