Jump to content

[1.9.4] Is there a ready to use GUI framework for modders to work with?


Starless

Recommended Posts

Something with basic GUI controls already implemented, like a simplified version of Java Swing or Java AWT or Windows Forms or Windows Presentation Foundation... Something like that, but much simpler of course. Is there an open library with such contents?

Link to comment
Share on other sites

Yes, it's called Minecraft...

 

It has classes like

GuiButton

and

GuiCheckBox

. You can use those in your own GUI instead of making your own.

 

There is also a library for Minecraft which you can use. It's called Forge...

 

It adds a simpler way of opening your GUIs, as well as a lot of other utilities which you can use to make your modding life easier.

 

Seriously now, what do you want more?

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Yes, it's called Minecraft...

 

It has classes like

GuiButton

and

GuiCheckBox

. You can use those in your own GUI instead of making your own.

 

There is also a library for Minecraft which you can use. It's called Forge...

 

It adds a simpler way of opening your GUIs, as well as a lot of other utilities which you can use to make your modding life easier.

 

Seriously now, what do you want more?

 

Tabs, DropDown Lists, List Selectors with scroll bars. To name a few.

Link to comment
Share on other sites

Look at

GuiContainerCreative#drawTab

and

GuiScrollingList

. Dropdown lists are not in Minecraft right now I think, o you might have to add that yourself.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

About that - If I could gather some people to also work on it, I'd love to "rewrite" Java FX to Minecraft - at least some part of it.

 

If you know FX you know what I am talking about - tree structure, Nodes, Properties, Listeners, Bindings, Events (top-down layered) and most importantly Layouts.

 

If you think about it - project like that would most likely revolutionize everything that is GUI-based. End product could even end up in Forge itself.

 

Sadly - one can't really handle all of it.

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

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.

Announcements



×
×
  • Create New...

Important Information

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