Package net.minecraft.network.packet

Examples of net.minecraft.network.packet.Packet52MultiBlockChange


          }
        } else {
          if (numberOfTilesToUpdate >= ForgeDummyContainer.clumpingThreshold) {
            sendToAllPlayersWatchingChunk(new Packet51MapChunk(chunk, false, flagsYAreasToUpdate));
          } else {
            sendToAllPlayersWatchingChunk(new Packet52MultiBlockChange(chunkLocation.chunkXPos, chunkLocation.chunkZPos, locationOfBlockChange, numberOfTilesToUpdate, worldServer));
          }

          for (int i = 0; i < numberOfTilesToUpdate; ++i) {
            TileEntity tileEntity = chunk.getChunkBlockTileEntity(locationOfBlockChange[i] >> 12 & 15, locationOfBlockChange[i] & 255, locationOfBlockChange[i] >> 8 & 15);
            if (tileEntity != null) {
View Full Code Here

TOP

Related Classes of net.minecraft.network.packet.Packet52MultiBlockChange

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.