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

InvertedOwl

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

InvertedOwl's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Unfortunately after a few attempts this did not help
  2. Hello! I am encountering an issue when trying to run 1.17.1 mdk client (gradle). Im using intellij and have downloaded Forge 1.17.1 37.0.104 mdk and followed instructions and imported it into intellij. I have changed all of the necessary fields for classes and mod id's etc but no matter what I do I encounter this error below. Ive tried multiple tutorials on starting and every time I get this issue. I am running Java 16 with the correct version gradle. I have also tried many different versions of forge 1.17.1. Forge 1.16 and below work perfectly fine. If anyone can help me out It would be much appreciated Exception in thread "main" java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 3 at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.Launcher.main(Launcher.java:77) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at cpw.mods.bootstraplauncher@0.1.17/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 3 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3751) at java.base/java.lang.String.substring(String.java:1907) at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:128) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3334) at java.base/java.lang.Class.getMethodsRecursive(Class.java:3475) at java.base/java.lang.Class.getMethod0(Class.java:3461) at java.base/java.lang.Class.getMethod(Class.java:2193) at MC-BOOTSTRAP/fmlloader@1.17.1-37.0.104/net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) ... 7 more I also sometimes get this error? Exception in thread "main" java.lang.IllegalArgumentException: : Invalid module name: '' is not a Java identifier at java.base/jdk.internal.module.Checks.requireModuleName(Checks.java:59) at java.base/java.lang.module.ModuleDescriptor$Builder.<init>(ModuleDescriptor.java:1523) at java.base/java.lang.module.ModuleDescriptor.newAutomaticModule(ModuleDescriptor.java:2405) at cpw.mods.securejarhandler@0.9.54/cpw.mods.jarhandling.impl.SimpleJarMetadata.descriptor(SimpleJarMetadata.java:13) at cpw.mods.securejarhandler@0.9.54/cpw.mods.jarhandling.impl.Jar.computeDescriptor(Jar.java:47) at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.JarModuleFinder$JarModuleReference.<init>(JarModuleFinder.java:50) at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.JarModuleFinder.lambda$new$0(JarModuleFinder.java:28) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.JarModuleFinder.<init>(JarModuleFinder.java:29) at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.JarModuleFinder.of(JarModuleFinder.java:43) at cpw.mods.bootstraplauncher@0.1.17/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:81) Process finished with exit code 1 If I missed any information yall need let me know and Ill hand it over ❤️ Thanks!!
  3. I figured out the issue Have to make sure the last to variables are set
  4. Hey Im a complete noob with modding but I know my way around java. Im trying to generate a vanilla world in the client so far I have //Minecraft.getInstance().createWorld("worldname", new WorldSettings("worldname", GameType.ADVENTURE, false, Difficulty.PEACEFUL, false, new GameRules(), DatapackCodec.VANILLA_CODEC), null, null); There was almost no information about .createWorld that I could find and whenever this code is executed it does not generate the vanilla datapack correct (Or to be precise it does not create the vanilla datapack at all) and gives me an error "Errors in currently selected datapacks prevented the world from loading" If anyone could help me out with this it would be great! Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.