Jump to content

Extremelyd1

Members
  • Posts

    5
  • Joined

Everything posted by Extremelyd1

  1. I didn't think the solution would be that easy, thanks!!
  2. When I close a custom GuiScreen by calling Minecraft.getMinecraft().displayGuiScreen(null); after I clicked on a custom button that executes that code, it appears that the field GuiScreen#eventButton still contains a value of a mouse button press, because I pressed a button to close my GuiScreen. Now, when I reopen the custom GuiScreen the method GuiScreen#mouseClickMove(int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick) is being called continously util I reset it by pressing and releasing a mouse button. How can I reset the field eventButton when closing my GuiScreen to make sure this issue does not arise again?
  3. Well it is part of some hack clients, but that is not what I am intending on making. It is actually part of some sort of ghost mod, which is under heavy development.
  4. I am trying to bind a key to make the playing 'ghost' in the game. By 'ghosting', I mean that the player client sided leaves the player's body behind and does not send updates to the server anymore until done with 'ghosting'. I haven't come anywhere yet, although I figured it has to do with rewriting parts of the classes 'EntityPlayerSP' and 'PlayerControllerMP'. But how would I make forge know that I have overwritten these? And if I manage to overwrite them, does it suffice to stop all packet sending to the server and only update EntityPlayerSP's location and such? Thanks in advance for helping!
×
×
  • Create New...

Important Information

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