Jump to content

[1.7.10] Editing Minecraft Main Menu?


Freakey

Recommended Posts

Hello Guys, I am developing a Minecraft mod for my server, and I wanted to know if it is possible to change the Main screen. Is it possible for me to use a JPanel for the startscreen, because I have an Eclipse Modification called "WindowBuilder" with that I can easily edit and create windows with JPanels, JLabels etc.

 

The startscreen should look like this: 86a409-1441372259.png

 

Thanks for you help ;D

Link to comment
Share on other sites

I'm pretty sure you can't. Minecraft uses LWJGL, not Swing, which means it's not built off of JFrames and JPanels. There was another question a few days ago asking the same thing, here it is[/url.

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

1. GL > Swing in terms of games.

2. You did right thing.

3. As to buttons - extend GuiButton and Override drawing method. Use:

this.mc.getTextureManager().bindTexture(resourceOfTexture);
this.drawTexturedModalRect(params...);

To draw texture onto button.

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

Link to comment
Share on other sites

1. GL > Swing in terms of games.

2. You did right thing.

3. As to buttons - extend GuiButton and Override drawing method. Use:

this.mc.getTextureManager().bindTexture(resourceOfTexture);
this.drawTexturedModalRect(params...);

To draw texture onto button.

 

Ok, and where should I place my textures?

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.