Package buildcraft.core.network

Examples of buildcraft.core.network.PacketTileState$StateWithId


  public BuildCraftPacket getBCDescriptionPacket() {
    bindPipe();
    updateCoreState();

    PacketTileState packet = new PacketTileState(this.xCoord, this.yCoord, this.zCoord);

    if (pipe != null && pipe.transport != null) {
      pipe.transport.sendDescriptionPacket();
    }

    packet.addStateForSerialization((byte) 0, coreState);
    packet.addStateForSerialization((byte) 1, renderState);

    if (pipe instanceof IClientState) {
      packet.addStateForSerialization((byte) 2, (IClientState) pipe);
    }

    return packet;
  }
View Full Code Here

TOP

Related Classes of buildcraft.core.network.PacketTileState$StateWithId

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.