Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

kamokuma

Members
  • Joined

  • Last visited

  1. I want to quit the current world and load another world that is already saved.
  2. I want to unload the current world and start another. The loadWorld() method's javadocs says it will unloads the world first. Is there a better way to implement this?
  3. I am trying to use loadWorld() method from net.minecraft.client.Minecraft. However it keeps crashing the game. I see the message "RAWR" and then the NullPointer exception is thrown. Am I using this method correctly? How do I get this method to not crash. I am on verison: 1.7.10-10.13.0.1191. Usage: private Minecraft mc; mc.theWorld.sendQuittingDisconnectingPacket(); mc.loadWorld((WorldClient) null, "RAWR"); while (mc.isIntegratedServerRunning()) try{ Thread.sleep(20); }catch (InterruptedException e){} Error: [14:41:12] [server thread/INFO]: Stopping server [14:41:12] [server thread/INFO]: Saving players [14:41:12] [server thread/INFO]: Saving worlds [14:41:12] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:41:12] [server thread/INFO]: Saving chunks for level 'New World'/Nether [14:41:12] [server thread/INFO]: Saving chunks for level 'New World'/The End [14:41:13] [server thread/INFO] [FML]: Unloading dimension 0 [14:41:13] [server thread/INFO] [FML]: Unloading dimension -1 [14:41:13] [server thread/INFO] [FML]: Unloading dimension 1 [14:41:13] [server thread/INFO] [FML]: Applying holder lookups [14:41:13] [server thread/INFO] [FML]: Holder lookups applied [14:41:14] [Client thread/FATAL]: Unreported exception thrown! java.lang.NullPointerException at net.minecraft.client.Minecraft.runTick(Minecraft.java:2004) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1038) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:961) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11] at GradleStart.bounce(GradleStart.java:108) [start/:?] at GradleStart.startClient(GradleStart.java:101) [start/:?] at GradleStart.main(GradleStart.java:66) [start/:?]

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.