Examples of displayGuiScreen()


Examples of net.minecraft.client.Minecraft.displayGuiScreen()

      par1GuiButton.displayString = newEnabledState ? "Start Enabled: ON" : "Start Enabled: OFF";
      this.mod.saveConfig();
    }
    else if (par1GuiButton.id == 211)
    {
      mc.displayGuiScreen(new MAtGuiMore(this, this.mod));
    }
    else if (par1GuiButton.id == 212)
    {
      mc.displayGuiScreen(this.parentScreen);
      this.mod.deactivate();
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

    {
      mc.displayGuiScreen(new MAtGuiMore(this, this.mod));
    }
    else if (par1GuiButton.id == 212)
    {
      mc.displayGuiScreen(this.parentScreen);
      this.mod.deactivate();
    }
    else if (par1GuiButton.id == 220)
    {
      this.mod.getConfig().setProperty("sound.autopreview", !isAutopreviewEnabled());
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

      par1GuiButton.displayString = isAutopreviewEnabled() ? "^o^" : "^_^";
      this.mod.saveConfig();
    }
    else if (par1GuiButton.id == 230)
    {
      mc.displayGuiScreen(new MAtGuiModules(this, this.mod));
    }
    else
    {
      Make.perform(par1GuiButton.id);
    }
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

    Minecraft mc = Minecraft.getMinecraft();
   
    if (par1GuiButton.id == 200)
    {
      // This triggers onGuiClosed
      mc.displayGuiScreen(this.parentScreen);
    }
    else if (par1GuiButton.id == 201)
    {
      this.mod.getVisualDebugger().debugModeExpansion(this.debug);
     
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

    else if (par1GuiButton.id == 201)
    {
      this.mod.getVisualDebugger().debugModeExpansion(this.debug);
     
      // This triggers onGuiClosed
      mc.displayGuiScreen(null);
    }
    else if (par1GuiButton.id == 202)
    {
      this.expansion.refreshKnowledge();
    }
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

    Minecraft mc = Minecraft.getMinecraft();
   
    if (par1GuiButton.id == 200)
    {
      // This triggers onGuiClosed
      mc.displayGuiScreen(this.parentScreen);
    }
  }
}
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

    public void actionPerformed(GuiButton button){
        Minecraft mc = FMLClientHandler.instance().getClient();
        CoordTrackUpgradeHandler coordHandler = (CoordTrackUpgradeHandler)HUDHandler.instance().getSpecificRenderer(CoordTrackUpgradeHandler.class);
        switch(button.id){
            case 10:
                mc.displayGuiScreen((GuiScreen)null);
                mc.setIngameFocus();
                coordHandler.isListeningToCoordTrackerSetting = true;
                HUDHandler.instance().addMessage(new ArmorMessage("Changing Coordinate Tracker coordinate...", Arrays.asList("Right-click the desired coordinate"), 90, 0x7000AA00));
                break;
            case 11:
View Full Code Here

Examples of net.minecraft.client.Minecraft.displayGuiScreen()

                mc.setIngameFocus();
                coordHandler.isListeningToCoordTrackerSetting = true;
                HUDHandler.instance().addMessage(new ArmorMessage("Changing Coordinate Tracker coordinate...", Arrays.asList("Right-click the desired coordinate"), 90, 0x7000AA00));
                break;
            case 11:
                mc.displayGuiScreen((GuiScreen)null);
                mc.setIngameFocus();
                if(coordHandler.navigateToSurface(mc.thePlayer)) {
                    HUDHandler.instance().addMessage(new ArmorMessage("Successfully found a route to the surface!", new ArrayList<String>(), 90, 0x7000AA00));
                } else {
                    HUDHandler.instance().addMessage(new ArmorMessage("Unable to find a route to the surface!", new ArrayList<String>(), 90, 0x70FF0000));
View Full Code Here

Examples of net.minecraft.src.InvTweaksObfuscation.displayGuiScreen()

           
            // Refresh config
            cfgManager.makeSureConfigurationIsLoaded();

            // Display menu
            obf.displayGuiScreen(new InvTweaksGuiSettings(minecraft, obf.getCurrentScreen(), config));
            return true;
        } else {
            return false;
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.