Jump to content

proxygames14

Members
  • Posts

    6
  • Joined

  • Last visited

proxygames14's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I wanna check if a player is in a specific server! (ip) And if hes not in signleplayer! But none of my methods to check if hes in signleplayer or server works! Any help?
  2. Im trying to check the if a player is in signleplayer! And also if player is on a server! But how do I check that with a good method! (some methods gives errors)
  3. @Draco18s I solved the problem! I figured out that I can make my own GuiMenu! I Forgot that that guiscreen is equal with mine so why 2 xD! Thanks you for your time!
  4. @Draco18s How do you execualy replace the existing guiScreen from MainMenuGUI! Do I need to create an instance of the MainMenuGUI and edit the guiScreen though the instance>?
  5. @Draco18s Thanks for your tip! But there is a litle problem If you use initGui it makes their own GUI screen! But how do you exualy display the InitGui while having mainGUI on your screen?
  6. Im changing the main menu by adding 1 custom button but I cannot connect that button with the click event! Im trying to add a result by clicking! Any help? My init class: public class MainMenuGUI extends GuiMainMenu { private GuiScreenEvent.InitGuiEvent event; public static GuiButtonExt mod_button; public MainMenuGUI(GuiScreenEvent.InitGuiEvent e) { event = e; run(); } private void run() { mod_button = new GuiButtonExt(12, Minecraft.getMinecraft().currentScreen.width / 2 - 100, Minecraft.getMinecraft().currentScreen.height / 2 -55, 200, 20, "Hypixel Party Helper"); if(event.buttonList.size() != 0) { // 0 IS SINGLEPLAYER // 1 IS MULTIPLAYER event.buttonList.get(0).yPosition = 150; event.buttonList.get(1).yPosition = 175; event.buttonList.add(mod_button); } } } But Im trying to add a event to that button but how do I do that?
×
×
  • Create New...

Important Information

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