You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Key value 3 is the value of glfw mouse key 4 according to https://www.glfw.org/docs/3.3/group__buttons.html
Google says that this error frequently occurred at 2020-2021, which is because at that time the GLFW had not register side mouse keys, you can resolve this by not use side mouse keys or manually upgrade LGLFW library.
This error will be thrown right after the logic that checking if the key is pressed, inside this mod, it's triggered by this mod.
It is net.minecraft.client.util.InputUtilisKeyPressed(long handle, int code) will throw the error when the code is 3, the InputUtil.isKeyPressed method is called in this mod's InputUtil.
So... according to others advice:
key 3 of type MOUSE is valid, key 3 of type KEYSYM is not, so its important it is the correct type when mapped. InputUtil.isKeyPressed shouldnt be called (there is check for key type before its called)
KeyBindings have a field called "pressed" that is set to true when they are pressed. they should just be checking the state of that field with the KeyBinding's "isPressed()" method
Mouse handles setting this for mouse type keybindings
boholder
added a commit
to boholder/minecraft-access
that referenced
this issue
Nov 11, 2023
By Amorphous Note from Discord.
The text was updated successfully, but these errors were encountered: