Examples of ErrorScreen


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

Examples of com.mojang.minecraft.gui.ErrorScreen

    } 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
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.