Replaces all instances of KeyBinding initialization with a PatchworkKeyBinding initialization to support the extra constructors forge adds to the class and allow registration with Fabric API. Fair warning, this is my first time using ASM and while I've checked and it works I have no idea if this is considered good form.
Replaces all instances of KeyBinding initialization with a PatchworkKeyBinding initialization to support the extra constructors forge adds to the class and allow registration with Fabric API. Fair warning, this is my first time using ASM and while I've checked and it works I have no idea if this is considered good form.
This requires an API PR, namely https://github.com/PatchworkMC/patchwork-api/pull/154.