Package logisticspipes.network.abstractguis

Examples of logisticspipes.network.abstractguis.GuiProvider.readData()


  @SneakyThrows(IOException.class)
  @SideOnly(Side.CLIENT)
  public static void openGui(GUIPacket packet, EntityPlayer player) {
    int guiID = packet.getGuiID();
    GuiProvider provider = guilist.get(guiID).template();
    provider.readData(new LPDataInputStream(packet.getGuiData()));
    GuiContainer screen;
    try {
      screen = (GuiContainer) provider.getClientGui(player);
    } catch(Exception e) {
      LogisticsPipes.log.error(packet.getClass().getName());
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.