Examples of PacketCustomMultiBlockOverride


Examples of org.getspout.spoutapi.packet.PacketCustomMultiBlockOverride

        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) {
          if (player instanceof SpoutCraftPlayer) {
            SpoutCraftPlayer spc = (SpoutCraftPlayer) player;
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.