Package com.mojang.minecraft.gui

Examples of com.mojang.minecraft.gui.ErrorScreen


  public void error(Exception e)
  {
    netHandler.close();

    ErrorScreen errorScreen = new ErrorScreen("Disconnected!", e.getMessage());

    minecraft.setCurrentScreen(errorScreen);

    e.printStackTrace();
  }
View Full Code Here


    } catch (Exception var3) {
      minecraft.online = false;

      minecraft.networkManager = null;

      minecraft.setCurrentScreen(new ErrorScreen("Failed to connect", "You failed to connect to the server. It\'s probably down!"));

      netManager.successful = false;
    }
  }
View Full Code Here

TOP

Related Classes of com.mojang.minecraft.gui.ErrorScreen

Copyright © 2018 www.massapicom. 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.