Package buildcraft.core.network

Examples of buildcraft.core.network.PacketUpdate


    TileEntity tile = (TileEntity) tileSynch;
    BlockIndex index = new BlockIndex(tile.xCoord, tile.yCoord, tile.zCoord);

    if (BuildCraftCore.bufferedDescriptions.containsKey(index)) {

      PacketUpdate payload = BuildCraftCore.bufferedDescriptions.get(index);
      BuildCraftCore.bufferedDescriptions.remove(index);

      try {
        tileSynch.handleDescriptionPacket(payload);
      } catch (IOException ex) {
View Full Code Here


        public void writeData(ByteBuf data) {
          data.writeByte(slot);
          data.writeShort(filter != null ? filter.getID() : -1);
        }
      });
      BuildCraftFactory.instance.sendToServer(new PacketUpdate(PacketIds.REFINERY_FILTER_SET, refinery.xCoord, refinery.yCoord, refinery.zCoord, payload));
    }
  }
View Full Code Here

TOP

Related Classes of buildcraft.core.network.PacketUpdate

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.