Search in sources :

Example 1 with ISendQueueContentRecieiver

use of logisticspipes.interfaces.ISendQueueContentRecieiver in project LogisticsPipes by RS485.

the class SendQueueContent method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    final LogisticsTileGenericPipe pipe = this.getPipe(player.worldObj);
    if (pipe == null) {
        return;
    }
    if (pipe.pipe instanceof ISendQueueContentRecieiver) {
        ISendQueueContentRecieiver receiver = (ISendQueueContentRecieiver) pipe.pipe;
        receiver.handleSendQueueItemIdentifierList(getIdentList());
    }
}
Also used : ISendQueueContentRecieiver(logisticspipes.interfaces.ISendQueueContentRecieiver) LogisticsTileGenericPipe(logisticspipes.pipes.basic.LogisticsTileGenericPipe)

Aggregations

ISendQueueContentRecieiver (logisticspipes.interfaces.ISendQueueContentRecieiver)1 LogisticsTileGenericPipe (logisticspipes.pipes.basic.LogisticsTileGenericPipe)1