Posted August 15, 201411 yr I'm quite new to minecraft modding and I was wondering if it was possible to override a vanilla menu, more specifically, the server selection one. If it is possible, how wouldI do it? I want to do this to add new functionality to that screen. Any response is appreciated!
August 15, 201411 yr It's possible, but difficult for a few reasons. What are you wanting to add? Can it be added in-game or does it NEED to be in the main menu? Generally it's frowned upon to alter the existing menus as it: 1) Requires a coremod. (Which are last resort.) 2) Only keeps the last mod to change it's changes. 3) Can just be plain annoying depending on what you're changing. But if you're only adding functionality and not removing any and you're not too intrusive about it, people might be willing to help.
August 15, 201411 yr Author I was looking to add an indicator next to the server's ping graph that would show the icon if certain conditions were met.
August 15, 201411 yr You can use the GuiOpenEvent, in which you get a GuiScreen object. You can use that object to check if it's a instance of the vanilla menu (GuiMultiplayer in your case) and then set the GuiScreen object to your new class extending the vanilla menu, so it still looks like the main menu instead of remaking all of it. 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/
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.