Search in sources :

Example 1 with PipeTileStatePacket

use of logisticspipes.network.packets.pipe.PipeTileStatePacket in project LogisticsPipes by RS485.

the class LogisticsTileGenericPipe method getLPDescriptionPacket.

/* SMP */
public ModernPacket getLPDescriptionPacket() {
    bindPipe();
    PipeTileStatePacket packet = PacketHandler.getPacket(PipeTileStatePacket.class);
    packet.setTilePos(this);
    packet.setCoreState(coreState);
    packet.setRenderState(renderState);
    packet.setPipe(pipe);
    packet.setStatePacketId(statePacketId++);
    return packet;
}
Also used : PipeTileStatePacket(logisticspipes.network.packets.pipe.PipeTileStatePacket)

Aggregations

PipeTileStatePacket (logisticspipes.network.packets.pipe.PipeTileStatePacket)1