• 0

    posted a message on [1.7.2]SoBiohazardous's Forge Keybinding Tutorial
    We'll looking at ASM it seems do able, however I will most likely just use the number pad and if players do not have a number pad it is a keybind so they can change it accordingly. Maybe forge will implement them as keybinds in 1.7.2 seeing as minecraft adds F2, F5, and F8 as keybinds however it doesn't add F1 or F3. Anyways thanks for all the help.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.7.2]SoBiohazardous's Forge Keybinding Tutorial
    From what I can tell from reading his/her blog is that the only way to intercept a key is if it already exists as a keybind. The function keys are hardcoded and aren't assigned a key bind as it appears and it doesn't look like it can be changed. Tell me if I read it incorrectly, thanks for the the info though.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.7.2]SoBiohazardous's Forge Keybinding Tutorial
    Thanks you very much for a reply and the link provided, I'm so used to making games from scratch that I can just change things whenever that having to conform to this work style so to speak makes it harder on me. Anyways thanks again!
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.7.2]SoBiohazardous's Forge Keybinding Tutorial
    Hi, great tutorial by the way. I am trying to use your keyhandler to activate skills stored within an extended player. This all works fine thanks to coolAlias's great tutorial. My only problem is that I am using F1-F12 to activate skills, do you know of any way to stop minecraft from using its default functions seeing as they are not assigned to any keys in controls without editing the base class(or if you know which class contains those, could you point me in that direction to try to find my own way to stop them from running). Thanks in advance!After searching alot of minecraft classes I came upon this after running a search in eclipse:
     private void screenshotListener() { if (Keyboard.isKeyDown(60)) { if (!this.isTakingScreenshot) { this.isTakingScreenshot = true; this.ingameGUI.getChatGUI().printChatMessage(ScreenShotHelper.saveScreenshot(this.mcDataDir, this.displayWidth, this.displayHeight)); } } else { this.isTakingScreenshot = false; } }
    Its in the Minecraft.class so I can grab an instance of minecraft to be able to call those functions with other keys, any idea of how to cancel/overrite that without directly changing it? Sorry if this is somewhat offtopic
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please or register a new account.