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.

Gingerbreadman

Members
  • Joined

  • Last visited

Everything posted by Gingerbreadman

  1. ICommandSender ics = Minecraft.getMinecraft().thePlayer; This returns null while I launch the actual game... it works fine in singleplayer, but in multiplayer it crashes with a nullpointer. Anyone help me?
  2. I don't have access to the server...
  3. I have them all in one spot, and I attack them, for some reason most hits dont register.
  4. I am using player controller to attack like 90 entities in one block, the only problem is that it stops attacking them after a while if(Minecraft.getMinecraft().objectMouseOver.typeOfHit == MovingObjectType.ENTITY) { if(Minecraft.getMinecraft().objectMouseOver.entityHit instanceof EntityBlaze) { Minecraft.getMinecraft().playerController.attackEntity(Minecraft.getMinecraft().thePlayer, Minecraft.getMinecraft().objectMouseOver.entityHit); Minecraft.getMinecraft().thePlayer.swingItem(); }
  5. Thank you all for helping me out!
  6. Whats the name of the GUI screen of the actual game ingame?
  7. k, I thought the game was multi threaded xdd, going to make new timers now on the same thread
  8. instead of a nullpointer, now I am getting a runtime error [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.RuntimeException: No OpenGL context found in the current thread. Exception in thread "Timer-0" [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124) [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.client.gui.GuiMainMenu.<init>(GuiMainMenu.java:125) [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.client.FMLClientHandler.connectToServerAtStartup(FMLClientHandler.java:806) [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.RPD.BlazeBot.Bot$3.run(Bot.java:67) [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.util.TimerThread.mainLoop(Unknown Source) [15:52:20] [Timer-0/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.util.TimerThread.run(Unknown Source) and my event @SubscribeEvent public void onDisconnect(ClientDisconnectionFromServerEvent e) { Timer t = new Timer(); t.schedule(new TimerTask() { @Override public void run() { FMLClientHandler.instance().connectToServerAtStartup("192.168.1.8", 69); } }, 5000); }
  9. I don't see the link between itemuse, and what I am doing.
  10. At least tell us what is null on that line so we can do your work for you. EntityPlayer.itemInUse (ItemStack)
  11. it it to do with me creating the connection on a keybind?
  12. The title explains everything basically, except that I need to use getSession() because I need to get the uuid in the @preinit
  13. at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ^I think the nullpointer is caused because there is no arguments on line 28 at net.minecraft.launchwrapper.Launch.main?
  14. you know what am I doing wrong?
  15. did you do gradlew.bat setupDecompWorkspace eclipse at setup?
  16. I have one armour set that I am using, when its damaged I want to change it with another one I have in my hotbar.
  17. I need to switch the set of armour I am wearing with the one I have in my hot bar (E.G slots 3, 4, 5, 6) how would I do this?
  18. I keep getting a nullpointer D: java.lang.NullPointerException at net.minecraft.client.Minecraft.runTick(Minecraft.java:1994) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] My code FMLClientHandler.instance().connectToServerAtStartup(Main.getConfigData().getIP(), Integer.parseInt(Main.getConfigData().getPort()));
  19. FMLClientHandler.instance().setupServerList();//might be unnecessary FMLClientHandler.instance().connectToServer(new GuiMultiplayer(FMLClientHandler.instance().getClient().currentScreen), new ServerData("", Main.getConfigData().getIP() + ":" + Main.getConfigData().getPort()));

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.