This PR adds data driven keybinds to apoli, which register and unregister upon joining and leaving the server.
With apoli's relatively recent addition of global powers, it is now possible to use apoli as a standalone mod. However the one thing preventing this from being the case, is that active powers cannot be used in apoli without relying on existing minecraft keybinds. Along with this, the origin's mod has a multi-layer system where users can create their own layers, but once again, this system is limited because two origins on different layers could end up using the same keybinds, and creating a mess in terms of functionality.
Those issues are resolved with the introduction of data driven keybinds, since users can create their own keybinds, and never face conflicts again.
Keybinds are of course still useable in the non-data driven way, and will act as normal, this method is sepecifically an addition to how keybinds already work.
This PR adds data driven keybinds to apoli, which register and unregister upon joining and leaving the server.
With apoli's relatively recent addition of global powers, it is now possible to use apoli as a standalone mod. However the one thing preventing this from being the case, is that active powers cannot be used in apoli without relying on existing minecraft keybinds. Along with this, the origin's mod has a multi-layer system where users can create their own layers, but once again, this system is limited because two origins on different layers could end up using the same keybinds, and creating a mess in terms of functionality.
Those issues are resolved with the introduction of data driven keybinds, since users can create their own keybinds, and never face conflicts again.
Keybinds are of course still useable in the non-data driven way, and will act as normal, this method is sepecifically an addition to how keybinds already work.