Posted April 20, 20223 yr Hi, im setting up a mod in 1.18.2, but when i try to launch the Minecraft Client im getting this error: Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make public static void cpw.mods.bootstraplauncher.BootstrapLauncher.main(java.lang.String[]) accessible: module cpw.mods.bootstraplauncher does not "exports cpw.mods.bootstraplauncher" to unnamed module @726f3b58 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:130) Anyone can help me?
April 20, 20223 yr Author I used the Introduction here: https://mcforge.readthedocs.io/en/1.18.x/gettingstarted/ My IntelliJ Version is 2019.1
April 20, 20223 yr Author Ok, I have updated IntelliJ, but now when I try to run the runClient configuration I get: Invalid value: -1 On: prepareRunClient
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.