Posted April 14, 201510 yr Hello there! I'm currently making a minecraft mod and I cant figure out how I can let a mod make screenshots. I dont know if it is even possible but can someone help me ?
April 14, 201510 yr Take a look in the minecraft source that's bound to F2 How much wood could a woodchuck chuck if a wood chuck could chuck wood - Guybrush Treepwood I wrote my own mod ish... still a few bugs to fix. http://thaumcraft.duckdns.org/downloads/MagicCookies-1.0.6.4.jar
April 14, 201510 yr in eclipse on your left you have the file tree where you have your java classes. scroll down until you see forgeSrc. unfold it, then find the net.minecraft files, then look for net.minecraft.client and then start digging through the source, to see where the f2 is bound. Usually stuff has a logical name, so try to use a bit of logic How much wood could a woodchuck chuck if a wood chuck could chuck wood - Guybrush Treepwood I wrote my own mod ish... still a few bugs to fix. http://thaumcraft.duckdns.org/downloads/MagicCookies-1.0.6.4.jar
April 14, 201510 yr else if (i == this.gameSettings.keyBindScreenshot.getKeyCode()) { this.ingameGUI.getChatGUI().printChatMessage(ScreenShotHelper.saveScreenshot(this.mcDataDir, this.displayWidth, this.displayHeight, this.framebufferMc)); }
April 16, 201510 yr else if (i == this.gameSettings.keyBindScreenshot.getKeyCode()) { this.ingameGUI.getChatGUI().printChatMessage(ScreenShotHelper.saveScreenshot(this.mcDataDir, this.displayWidth, this.displayHeight, this.framebufferMc)); } Which class was this found in? Maker of the Craft++ mod.
April 16, 201510 yr Which class was this found in? Minecraft.class on line 2971 in 1.7.10 and line 3005 in 1.8
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.