5zig / The-5zig-API

The official client API of The 5zig Mod.
Apache License 2.0
11 stars 2 forks source link

possible "keyBiding" typo #5

Closed ghost closed 7 years ago

ghost commented 7 years ago

https://github.com/5zig/The-5zig-API/blob/master/src/eu/the5zig/mod/ModAPI.java#L116

I think the name of the method should be registerKeyBinding. At the moment it has been spelt biding instead of binding.

Also, what's the category parameter's purpose? Can I put any string there?

5zig commented 7 years ago

Regarding the category parameter, it is used by Minecraft for the section headers in the controls menu. Just try it out and look at the result in the GUI. :)

ghost commented 7 years ago

How do I update to the latest API in my own project? And does the client itself need updating at all or just the API jar?

5zig commented 7 years ago

The API will be updated when the new update of the 5zig mod has been released.

ghost commented 7 years ago

Where's a list of all of the Keyboard keys possible? I tried using Keyboard.KEY_SEMICOLON but I think it crashed the plugin