Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Key Binding


NeverMind
 Share

Recommended Posts

I did try, that's why I am asking for help. Here is the code:

 

public class KeyInputHandler {

public void onKeyInput(InputEvent.KeyInputEvent event, World world, EntityPlayer player)

{

if (SonOfGods.fKey.isPressed() && SonOfGods.endermankill == true)

world.spawnEntityInWorld(new EntityEnderPearl(world, player));

}

}

 

 

 

AND

 

in main modding class:

 

 

fKey = new KeyBinding("fKey", Keyboard.KEY_F, modid);

ClientRegistry.registerKeyBinding(fKey);

 

FMLCommonHandler.instance().bus().register(new KeyInputHandler());

Link to comment
Share on other sites

How to do that?

I could be wrong, but trying annotating the method with @SideOnly(Side.SERVER). Just an educated guess, not a surefire way, but I tried. :)

http://www.dreamspand.com/

DreamSpand Gaming, a co-owned web site centered around Minecraft and its mods. We host servers and give out mods, plugins, schematics, saves, skins, and much more. Soon, we're going to have our server database synced to our site database. Then, a whole new plethora of possibilities will unveil themselves to us, at which time we will greet them with dedication and excitement.

 

We're very user-friendly and we love to help - no one will treat you badly. :)

Link to comment
Share on other sites

No. Nonononono. Never ever use @SideOnly.

At least I tried. I don't see you coming up with anything. If you have a better idea, you should post it. You're no help to these people at all.

http://www.dreamspand.com/

DreamSpand Gaming, a co-owned web site centered around Minecraft and its mods. We host servers and give out mods, plugins, schematics, saves, skins, and much more. Soon, we're going to have our server database synced to our site database. Then, a whole new plethora of possibilities will unveil themselves to us, at which time we will greet them with dedication and excitement.

 

We're very user-friendly and we love to help - no one will treat you badly. :)

Link to comment
Share on other sites

Don't add arguments to your event, you should only need the event itself. If you need the player or the world, check the event as it might have an instance of at least the player. Also use the @SubscribeEvent annotation on the method and register the event.

 

pahimar has a good example for a simple packet handler: https://github.com/pahimar/Equivalent-Exchange-3/tree/master/src/main/java/com/pahimar/ee3/network

Link to comment
Share on other sites

At least I tried. I don't see you coming up with anything. If you have a better idea, you should post it. You're no help to these people at all.

I told him like 2 times: he needs to send packets. I am not gonna write a fully fledged packet tutorial here, other people have done that.
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • NEVER MIND I AM STUPID I HAD EXTRACTED MODS IN MY MOD FOLDER IM SORRY
    • My forge for 1.12.2 isn't working and I'm about to blow my brains out you guys are my last resort. Please help. Here's my logs: [20:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:39:15] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [20:39:15] [main/DEBUG] [FML]: Injecting tracing printstreams for STDOUT/STDERR. [20:39:15] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2855 for Minecraft 1.12.2 loading [20:39:15] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Program Files (x86)\Minecraft Launcher\runtime\jre-legacy\windows-x64\jre-legacy [20:39:15] [main/DEBUG] [FML]: Java classpath at launch is: [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.12.2-14.23.5.2855\forge-1.12.2-14.23.5.2855.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-debug-all\5.2\asm-debug-all-5.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\jline\jline\3.5.1\jline-3.5.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-2.3.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\typesafe\config\1.2.1\config-1.2.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-actors-migration_2.11\1.1.0\scala-actors-migration_2.11-1.1.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.11.1\scala-compiler-2.11.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-library_2.11\1.0.2_mc\scala-continuations-library_2.11-1.0.2_mc.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-plugin_2.11.1\1.0.2_mc\scala-continuations-plugin_2.11.1-1.0.2_mc.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.11.1\scala-library-2.11.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-parser-combinators_2.11\1.0.1\scala-parser-combinators_2.11-1.0.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-reflect\2.11.1\scala-reflect-2.11.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-swing_2.11\1.0.1\scala-swing_2.11-1.0.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-xml_2.11\1.0.2\scala-xml_2.11-1.0.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.5.2\vecmath-1.5.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\maven\maven-artifact\3.5.3\maven-artifact-3.5.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\patchy\1.3.9\patchy-1.3.9.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\jna\4.4.0\jna-4.4.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.1.9.Final\netty-all-4.1.9.Final.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\21.0\guava-21.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.5\commons-io-2.5.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\commons-codec\commons-codec\1.10\commons-codec-1.10.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.5.25\authlib-1.5.25.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.10.22\realms-1.10.22.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\it\unimi\dsi\fastutil\7.1.0\fastutil-7.1.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.8.1\log4j-api-2.8.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.8.1\log4j-core-2.8.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.4-nightly-20150209\lwjgl_util-2.9.4-nightly-20150209.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\text2speech\1.10.3\text2speech-1.10.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\versions\1.12.2-forge-14.23.5.2855\1.12.2-forge-14.23.5.2855.jar [20:39:15] [main/DEBUG] [FML]: Java library path at launch is: [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\bin\eeeb-e5b9-51d8-e2c2 [20:39:15] [main/DEBUG] [FML]: Determined Minecraft Libraries Root: C:\Users\joshu\AppData\Roaming\.minecraft\libraries [20:39:15] [main/DEBUG] [FML]: Cleaning up mods folder: C:\Users\joshu\AppData\Roaming\.minecraft\mods [20:39:15] [main/DEBUG] [FML]: Enabling runtime deobfuscation [20:39:15] [main/DEBUG] [FML]: Instantiating coremod class FMLCorePlugin [20:39:15] [main/DEBUG] [FML]: Found signing certificates for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin) [20:39:15] [main/DEBUG] [FML]: Found certificate e3c3d50c7c986df74c645c0ac54639741c90a557 [20:39:15] [main/DEBUG] [FML]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers [20:39:15] [main/DEBUG] [FML]: Enqueued coremod FMLCorePlugin [20:39:15] [main/DEBUG] [FML]: Instantiating coremod class FMLForgePlugin [20:39:15] [main/DEBUG] [FML]: Found signing certificates for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin) [20:39:15] [main/DEBUG] [FML]: Found certificate e3c3d50c7c986df74c645c0ac54639741c90a557 [20:39:15] [main/DEBUG] [FML]: Enqueued coremod FMLForgePlugin [20:39:15] [main/DEBUG] [FML]: All fundamental core mods are successfully located [20:39:15] [main/FATAL] [FML]: There appear to be jars extracted into the mods directory. This is VERY BAD and will almost NEVER WORK WELL [20:39:15] [main/FATAL] [FML]: You should place original jars only in the mods directory. NEVER extract them to the mods directory. [20:39:15] [main/FATAL] [FML]: The directories below appear to be extracted jar files. Fix this before you continue. [20:39:15] [main/FATAL] [FML]: Directory Unconfirmed 301077 contains [MANIFEST.MF, maven, pixelmon_at.cfg, versions] [20:39:15] [main/FATAL] [FML]: #@!@# FML has crashed the game deliberately. Crash report saved to: #@!@# C:\Users\joshu\AppData\Roaming\.minecraft\crash-reports\fml-crash-2022-07-04_20.39.15.txt [20:39:15] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.RuntimeException: An error occurred trying to configure the Minecraft home at C:\Users\joshu\AppData\Roaming\.minecraft for Forge Mod Loader     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:111) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:81) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:42) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:141) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.RuntimeException: Extracted mod jars found, loading will NOT continue     at net.minecraftforge.fml.relauncher.CoreModManager.findDerpMods(CoreModManager.java:292) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:332) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:265) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:107) ~[forge-1.12.2-14.23.5.2855.jar:?]     ... 5 more [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.SecurityManager.checkExit(SecurityManager.java:761) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.Runtime.exit(Runtime.java:107) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.System.exit(System.java:971) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)  
    • My forge for 1.12.2 isn't working and I'm about to blow my brains out you guys are my last resort. Please help. Here's my logs: [20:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:39:15] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [20:39:15] [main/DEBUG] [FML]: Injecting tracing printstreams for STDOUT/STDERR. [20:39:15] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2855 for Minecraft 1.12.2 loading [20:39:15] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Program Files (x86)\Minecraft Launcher\runtime\jre-legacy\windows-x64\jre-legacy [20:39:15] [main/DEBUG] [FML]: Java classpath at launch is: [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.12.2-14.23.5.2855\forge-1.12.2-14.23.5.2855.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-debug-all\5.2\asm-debug-all-5.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\jline\jline\3.5.1\jline-3.5.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-2.3.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\typesafe\config\1.2.1\config-1.2.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-actors-migration_2.11\1.1.0\scala-actors-migration_2.11-1.1.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.11.1\scala-compiler-2.11.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-library_2.11\1.0.2_mc\scala-continuations-library_2.11-1.0.2_mc.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-plugin_2.11.1\1.0.2_mc\scala-continuations-plugin_2.11.1-1.0.2_mc.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.11.1\scala-library-2.11.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-parser-combinators_2.11\1.0.1\scala-parser-combinators_2.11-1.0.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-reflect\2.11.1\scala-reflect-2.11.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-swing_2.11\1.0.1\scala-swing_2.11-1.0.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-xml_2.11\1.0.2\scala-xml_2.11-1.0.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.5.2\vecmath-1.5.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\maven\maven-artifact\3.5.3\maven-artifact-3.5.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\patchy\1.3.9\patchy-1.3.9.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\jna\4.4.0\jna-4.4.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.1.9.Final\netty-all-4.1.9.Final.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\21.0\guava-21.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.5\commons-io-2.5.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\commons-codec\commons-codec\1.10\commons-codec-1.10.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.5.25\authlib-1.5.25.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.10.22\realms-1.10.22.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\it\unimi\dsi\fastutil\7.1.0\fastutil-7.1.0.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.8.1\log4j-api-2.8.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.8.1\log4j-core-2.8.1.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.4-nightly-20150209\lwjgl_util-2.9.4-nightly-20150209.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\libraries\com\mojang\text2speech\1.10.3\text2speech-1.10.3.jar [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\versions\1.12.2-forge-14.23.5.2855\1.12.2-forge-14.23.5.2855.jar [20:39:15] [main/DEBUG] [FML]: Java library path at launch is: [20:39:15] [main/DEBUG] [FML]:     C:\Users\joshu\AppData\Roaming\.minecraft\bin\eeeb-e5b9-51d8-e2c2 [20:39:15] [main/DEBUG] [FML]: Determined Minecraft Libraries Root: C:\Users\joshu\AppData\Roaming\.minecraft\libraries [20:39:15] [main/DEBUG] [FML]: Cleaning up mods folder: C:\Users\joshu\AppData\Roaming\.minecraft\mods [20:39:15] [main/DEBUG] [FML]: Enabling runtime deobfuscation [20:39:15] [main/DEBUG] [FML]: Instantiating coremod class FMLCorePlugin [20:39:15] [main/DEBUG] [FML]: Found signing certificates for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin) [20:39:15] [main/DEBUG] [FML]: Found certificate e3c3d50c7c986df74c645c0ac54639741c90a557 [20:39:15] [main/DEBUG] [FML]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers [20:39:15] [main/DEBUG] [FML]: Enqueued coremod FMLCorePlugin [20:39:15] [main/DEBUG] [FML]: Instantiating coremod class FMLForgePlugin [20:39:15] [main/DEBUG] [FML]: Found signing certificates for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin) [20:39:15] [main/DEBUG] [FML]: Found certificate e3c3d50c7c986df74c645c0ac54639741c90a557 [20:39:15] [main/DEBUG] [FML]: Enqueued coremod FMLForgePlugin [20:39:15] [main/DEBUG] [FML]: All fundamental core mods are successfully located [20:39:15] [main/FATAL] [FML]: There appear to be jars extracted into the mods directory. This is VERY BAD and will almost NEVER WORK WELL [20:39:15] [main/FATAL] [FML]: You should place original jars only in the mods directory. NEVER extract them to the mods directory. [20:39:15] [main/FATAL] [FML]: The directories below appear to be extracted jar files. Fix this before you continue. [20:39:15] [main/FATAL] [FML]: Directory Unconfirmed 301077 contains [MANIFEST.MF, maven, pixelmon_at.cfg, versions] [20:39:15] [main/FATAL] [FML]: #@!@# FML has crashed the game deliberately. Crash report saved to: #@!@# C:\Users\joshu\AppData\Roaming\.minecraft\crash-reports\fml-crash-2022-07-04_20.39.15.txt [20:39:15] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.RuntimeException: An error occurred trying to configure the Minecraft home at C:\Users\joshu\AppData\Roaming\.minecraft for Forge Mod Loader     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:111) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:81) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:42) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:141) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.RuntimeException: Extracted mod jars found, loading will NOT continue     at net.minecraftforge.fml.relauncher.CoreModManager.findDerpMods(CoreModManager.java:292) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:332) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:265) ~[forge-1.12.2-14.23.5.2855.jar:?]     at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:107) ~[forge-1.12.2-14.23.5.2855.jar:?]     ... 5 more [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.SecurityManager.checkExit(SecurityManager.java:761) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.Runtime.exit(Runtime.java:107) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.System.exit(System.java:971) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [20:39:15] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)  
    • https://imgur.com/a/l8Dg8BF
    • Or even simpler, just reject re-entrant calls? private boolean inTick = false; @Override public void tick() { if (inTick) return; inTick = true; // Your code inTick = false; }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.