Package pneumaticCraft.common.network

Examples of pneumaticCraft.common.network.PacketSpawnRing


                rotationPitch = (float)-Math.atan2(dy, f3);
            } else {
                if(ringSendCooldown > 0) ringSendCooldown--;
                if(ringSendList.size() > 0 && ringSendCooldown <= 0) {
                    ringSendCooldown = ringSendList.size() > 10 ? 1 : 5;
                    NetworkHandler.sendToAllAround(new PacketSpawnRing(xCoord + 0.5, yCoord + 0.8, zCoord + 0.5, drone, ringSendList.remove(0)), worldObj);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.network.PacketSpawnRing

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.