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

[1.12.2] Not sure on Predicate<IBlockState> initialization


SeptemberBlue
 Share

Recommended Posts

So I was trying to create ores for the end, and I noticed that the constructor for the WorldGenMinable had a third argument which I'm assuming which blocks can be replaced. I'm referring to the "Predicate<IBlockState>". The problem is that I don't know how to use predicate.

 

Assuming my IBlockState is

Blocks.END_STONE.getDefaultState()

How would I turn this into a Predicate?

Link to comment
Share on other sites

5 hours ago, diesieben07 said:

...provide something that returns true when the block passed in is the one you want to replace.

That's the reason I made this topic, I've never even seen a predicate before, and I don't know what to pass it.

I saw this as an example of initializing a predicate:

Predicate<String> allCaps = new Predicate<String>();

The problem is that it's giving me an error that "Cannot instantiate the type Predicate<String>". So how am I supposed to initialize it correctly?

Link to comment
Share on other sites

Predicate is an interface. If you do not know what an interface is or how it works, you need to learn basic Java first.

https://docs.oracle.com/javase/tutorial/java/IandI/createinterface.html

Also relevant (but you should probably just read all of those tutorials if you don't know Java):

https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html

Link to comment
Share on other sites

4 hours ago, diesieben07 said:

Predicate is an interface. If you do not know what an interface is or how it works, you need to learn basic Java first.

https://docs.oracle.com/javase/tutorial/java/IandI/createinterface.html

Also relevant (but you should probably just read all of those tutorials if you don't know Java):

https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html

 

Please stop acting like I've had 0 experience with Java, it doesn't help at all. I know enough Java to make a competent program with it.

 

So with that said, I have two questions:

1. I've only really seen the <> brackets used with ArrayList. What exactly did they do again?

2. Given that Predicate is an interface, are there any classes that implement it (specifically minecraft classes)?

Link to comment
Share on other sites

20 minutes ago, SeptemberBlue said:

Please stop acting like I've had 0 experience with Java

You act like it. Interfaces are absolute Java basics.

 

20 minutes ago, SeptemberBlue said:

I've only really seen the <> brackets used with ArrayList. What exactly did they do again?

Generics

 

20 minutes ago, SeptemberBlue said:

Given that Predicate is an interface, are there any classes that implement it (specifically minecraft classes)?

Use your IDE.

Link to comment
Share on other sites

34 minutes ago, diesieben07 said:

Use your IDE. 

Ok, so I'm using eclipse. I've barely used it before, so I don't know much about it.

 

Also, why can't you just send a line of code that properly initializes the Predicate<IBlockState>? I'm guessing it'll be just one line, like most initializations, and it's getting kind of annoying when this topic could've been solved in one comment.

Link to comment
Share on other sites

1 minute ago, SeptemberBlue said:

Ok, so I'm using eclipse. I've barely used it before, so I don't know much about it.

https://stackoverflow.com/questions/3839156/how-can-i-find-references-of-a-class-in-eclipse

 

1 minute ago, SeptemberBlue said:

Also, why can't you just send a line of code that properly initializes the Predicate<IBlockState>?

Because this is not a Java school. Usage of interfaces is basic Java and required to be learned before writing a mod.

I have given you plenty of resources to learn it. It's getting kind of annoying when this topic could've been solved by you just reading the resources I link you.

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

    • I play the world yesterday and it was fine, upon loading it today it crashed ╥_╥. Pls help.  [main/ERROR]: Exception caught during firing event: null     Index: 6     Listeners:         0: HIGH         1: ASM: class me.shedaniel.architectury.event.forge.EventHandlerImplClient event(Lnet/minecraftforge/client/event/RecipesUpdatedEvent;)V         2: NORMAL         3: ASM: class owmii.lib.client.wiki.Wiki collect(Lnet/minecraftforge/client/event/RecipesUpdatedEvent;)V         4: ASM: class com.blamejared.crafttweaker.impl.events.CTStateEventHandler onRecipesUpdated(Lnet/minecraftforge/client/event/RecipesUpdatedEvent;)V         5: ASM: mekanism.client.ClientTickHandler@43d9842f recipesUpdated(Lnet/minecraftforge/client/event/RecipesUpdatedEvent;)V         6: net.minecraftforge.eventbus.EventBus$$Lambda$2959/736640638@6d07c39b java.util.ConcurrentModificationException     at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)     at java.util.ArrayList$Itr.next(ArrayList.java:851)     at mezz.jei.load.PluginCaller.callOnPlugins(PluginCaller.java:21)     at mezz.jei.load.PluginLoader.<init>(PluginLoader.java:109)     at mezz.jei.startup.JeiStarter.start(JeiStarter.java:69)     at mezz.jei.startup.ClientLifecycleHandler.startJEI(ClientLifecycleHandler.java:147)     at mezz.jei.startup.ClientLifecycleHandler.setupJEI(ClientLifecycleHandler.java:140)     at mezz.jei.startup.ClientLifecycleHandler.lambda$new$3(ClientLifecycleHandler.java:106)     at mezz.jei.startup.ClientLifecycleHandler$$Lambda$29176/1547335276.accept(Unknown Source)     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)     at net.minecraftforge.eventbus.EventBus$$Lambda$2959/736640638.invoke(Unknown Source)     at net.minecraftforge.eventbus.EventBus$$Lambda$3273/1859299978.invoke(Unknown Source)     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)     at net.minecraftforge.client.ForgeHooksClient.onRecipesUpdated(ForgeHooksClient.java:772)     at net.minecraft.client.network.play.ClientPlayNetHandler.func_199525_a(ClientPlayNetHandler.java:1314)     at net.minecraft.network.play.server.SUpdateRecipesPacket.func_148833_a(SourceFile:27)     at net.minecraft.network.play.server.SUpdateRecipesPacket.func_148833_a(SourceFile:15)     at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21)     at net.minecraft.network.PacketThreadUtil$$Lambda$34638/1869809823.run(Unknown Source)     at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144)     at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23)     at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118)     at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(SourceFile:103)     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:948)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607)     at net.minecraft.client.main.Main.main(Main.java:184)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37)     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$502/1391735333.call(Unknown Source)     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)  [main/FATAL]: Error executing task on Client java.util.ConcurrentModificationException: null     at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) ~[?:1.8.0_51]     at java.util.ArrayList$Itr.next(ArrayList.java:851) ~[?:1.8.0_51]     at mezz.jei.load.PluginCaller.callOnPlugins(PluginCaller.java:21) ~[?:7.7.1.152]     at mezz.jei.load.PluginLoader.<init>(PluginLoader.java:109) ~[?:7.7.1.152]     at mezz.jei.startup.JeiStarter.start(JeiStarter.java:69) ~[?:7.7.1.152]     at mezz.jei.startup.ClientLifecycleHandler.startJEI(ClientLifecycleHandler.java:147) ~[?:7.7.1.152]     at mezz.jei.startup.ClientLifecycleHandler.setupJEI(ClientLifecycleHandler.java:140) ~[?:7.7.1.152]     at mezz.jei.startup.ClientLifecycleHandler.lambda$new$3(ClientLifecycleHandler.java:106) ~[?:7.7.1.152]     at mezz.jei.startup.ClientLifecycleHandler$$Lambda$29176/1547335276.accept(Unknown Source) ~[?:?]     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?]     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?]     at net.minecraftforge.eventbus.EventBus$$Lambda$2959/736640638.invoke(Unknown Source) ~[?:?]     at net.minecraftforge.eventbus.EventBus$$Lambda$3273/1859299978.invoke(Unknown Source) ~[?:?]     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]     at net.minecraftforge.client.ForgeHooksClient.onRecipesUpdated(ForgeHooksClient.java:772) ~[?:?]     at net.minecraft.client.network.play.ClientPlayNetHandler.func_199525_a(ClientPlayNetHandler.java:1314) ~[?:?]     at net.minecraft.network.play.server.SUpdateRecipesPacket.func_148833_a(SourceFile:27) ~[?:?]     at net.minecraft.network.play.server.SUpdateRecipesPacket.func_148833_a(SourceFile:15) ~[?:?]     at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?]     at net.minecraft.network.PacketThreadUtil$$Lambda$34638/1869809823.run(Unknown Source) ~[?:?]     at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) [?:?]     at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) [?:?]     at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) [?:?]     at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(SourceFile:103) [?:?]     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:948) [?:?]     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?]     at net.minecraft.client.main.Main.main(Main.java:184) [?:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37) [forge-1.16.5-36.2.35.jar:36.2]     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$502/1391735333.call(Unknown Source) [forge-1.16.5-36.2.35.jar:36.2]     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?]
    • 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
  • Topics

×
×
  • Create New...

Important Information

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