Jump to content

Is there a way to edit Gui while game is open?


SHsuperCM

Recommended Posts

so on my mod again.. im working with guis and im messing with textures and boxes..

and what i've been doing so far is on changes i want to test, i'd restart the game to update the gui....

 

it might be the only way.. but at the same time i might just be stupid and there is a magic button to save and reload in the same

session quickly....

 

just to be clear, this is a clientside mod and the gui is not linked to any blocks or entities or serverside stuff..

Doing stuff n' things

Link to comment
Share on other sites

If you mean syncing resources, it's simple. Just reload resources with F3+T.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

If you run Minecraft in debug mode, you can edit your code and then tell your IDE to compile the project; this will reload the edited classes in any running client/server instances.

 

Note that it's not possible to reload classes if you've added/removed classes, methods or fields; you'll need to relaunch the instances in this case.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

If you mean syncing resources, it's simple. Just reload resources with F3+T.

not textures if that what you meant...

i mean - real code for "extends GuiScreen" classes..

The debugger will automatically take care of it if methods are not added/removed..

Also I remember that there is a tool(or plugin) that reflects code changes including the method changes, but forgot its name.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

Also I remember that there is a tool(or plugin) that reflects code changes including the method changes, but forgot its name.

 

For eclipse? Teach me master! (Like for real, any clues on that?)

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

eclipse is annoying... im using idea, trust me, waay better..

 

Don't start an argument on whether idea is better than eclipse and vice versa.

im assuming it happend to you or you saw it before?

it really sounds like a bad idea now that i think about it... xD

Doing stuff n' things

Link to comment
Share on other sites

width=740 height=406https://imgs.xkcd.com/comics/real_programmers.png[/img]

Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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