Package org.getspout.spoutapi.packet

Examples of org.getspout.spoutapi.packet.PacketCustomBlockChunkOverride


      if (xCoords.size() > 6) {
        SpoutPacket packet;
        if (xCoords.size() > 128) {
          int chunkX = xCoords.get(0) >> 4;
          int chunkZ = zCoords.get(0) >> 4;
          packet = new PacketCustomBlockChunkOverride(SpoutManager.getChunkDataManager().getCustomBlockIds(world, chunkX, chunkZ), SpoutManager.getChunkDataManager().getCustomBlockData(world, chunkX, chunkZ),chunkX, chunkZ);
        } else {
          packet = new PacketCustomMultiBlockOverride(xCoords, yCoords, zCoords, typeIds, data);
        }

        for (Player player : players) {
View Full Code Here

TOP

Related Classes of org.getspout.spoutapi.packet.PacketCustomBlockChunkOverride

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.