Package pneumaticCraft.common.network

Examples of pneumaticCraft.common.network.PacketChangeGPSToolCoordinate


    public void onGuiClosed(){
        int x = NumberUtils.isNumber(textFields[0].getText()) ? Integer.parseInt(textFields[0].getText()) : 0;
        int y = NumberUtils.isNumber(textFields[1].getText()) ? Integer.parseInt(textFields[1].getText()) : 0;
        int z = NumberUtils.isNumber(textFields[2].getText()) ? Integer.parseInt(textFields[2].getText()) : 0;
        if(oldGPSLoc.chunkPosX != x || oldGPSLoc.chunkPosY != y || oldGPSLoc.chunkPosZ != z) {
            NetworkHandler.sendToServer(new PacketChangeGPSToolCoordinate(x, y, z));
        }
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.network.PacketChangeGPSToolCoordinate

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.