Package logisticspipes.network.packets.gui

Examples of logisticspipes.network.packets.gui.GUIPacket


    if(container == null) return;
    player.getNextWindowId();
        player.closeContainer();
        int windowId = player.currentWindowId;

        GUIPacket packet = PacketHandler.getPacket(GUIPacket.class);
    LPDataOutputStream data = new LPDataOutputStream();
    guiProvider.writeData(data);
    packet.setGuiID(guiProvider.getId());
    packet.setWindowID(windowId);
    packet.setGuiData(data.toByteArray());
    MainProxy.sendPacketToPlayer(packet, player);

    player.openContainer = container;
        player.openContainer.windowId = windowId;
        player.openContainer.addCraftingToCrafters(player);
View Full Code Here

TOP

Related Classes of logisticspipes.network.packets.gui.GUIPacket

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.