Search in sources :

Example 1 with IModuleWatchReciver

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

the class HUDStartModuleWatchingPacket method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    IModuleWatchReciver handler = this.getLogisticsModule(player, IModuleWatchReciver.class);
    if (handler == null) {
        return;
    }
    handler.startWatching(player);
}
Also used : IModuleWatchReciver(logisticspipes.interfaces.IModuleWatchReciver)

Example 2 with IModuleWatchReciver

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

the class HUDStopModuleWatchingPacket method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    IModuleWatchReciver handler = this.getLogisticsModule(player, IModuleWatchReciver.class);
    if (handler == null) {
        return;
    }
    handler.stopWatching(player);
}
Also used : IModuleWatchReciver(logisticspipes.interfaces.IModuleWatchReciver)

Aggregations

IModuleWatchReciver (logisticspipes.interfaces.IModuleWatchReciver)2