Modern KeyBinding [Fabric]

Modern KeyBinding [Fabric]

197k Downloads

Incompatibility with AxolotlClient

moehreag opened this issue ยท 1 comments

commented

Currently this mod is incompatible with https://github.com/AxolotlClient/AxolotlClient-mod (https://modrinth.com/mod/axolotlclient) due to this mod overwriting the setKeyPressed method:

* @reason Not so convenient using other hacks
*/
@Overwrite
public static void setKeyPressed(int keyCode, boolean pressed) {
if (keyCode == 0) return;
for (final KeyBinding binding : newHash.lookupAll(keyCode)) {
if (binding != null) ((AccessorKeyBinding) binding).setPressed(pressed);
}
}

This breaks this mixin respectively.

I hope that a solution to this problem can be found!

Additional Note:
This repository is currently missing a license.

commented

Okay, I'll make it a HEAD inject soon.