Posted May 4, 20232 yr Hi all! Where is the code that reads the input from keyboard or mouse? Is it possible to read them directly instead of using events like RightClickItem or LeftClickEmpty?
May 4, 20232 yr This is a support forum, not a teach me modding forum. Please do you own research instead of trying to use us a human search engine. https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/client/event/InputEvent.java Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
May 4, 20232 yr Author Found InputEvent.MouseButton.Pre that should work better than read input directly. Thx
May 12, 20232 yr On 5/4/2023 at 9:55 PM, warjort said: This is a support forum, not a teach me modding forum. Please do you own research instead of trying to use us a human search engine. https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/client/event/InputEvent.java Thanks for the link Edited June 12, 20232 yr by RobertThomas
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.