Search in sources :

Example 1 with ChassiTargetInformation

use of logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation in project LogisticsPipes by RS485.

the class ModuleTerminus method registerPosition.

@Override
public void registerPosition(@Nonnull ModulePositionType slot, int positionInt) {
    super.registerPosition(slot, positionInt);
    _sinkReply = new SinkReply(FixedPriority.Terminus, 0, true, false, 2, 0, new ChassiTargetInformation(getPositionInt()));
}
Also used : ChassiTargetInformation(logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation) SinkReply(logisticspipes.utils.SinkReply)

Example 2 with ChassiTargetInformation

use of logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation in project LogisticsPipes by RS485.

the class ModuleCreativeTabBasedItemSink method registerPosition.

@Override
public void registerPosition(@Nonnull ModulePositionType slot, int positionInt) {
    super.registerPosition(slot, positionInt);
    _sinkReply = new SinkReply(FixedPriority.ModBasedItemSink, 0, true, false, 5, 0, new ChassiTargetInformation(getPositionInt()));
}
Also used : ChassiTargetInformation(logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation) SinkReply(logisticspipes.utils.SinkReply)

Example 3 with ChassiTargetInformation

use of logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation in project LogisticsPipes by RS485.

the class ModulePassiveSupplier method registerPosition.

@Override
public void registerPosition(@Nonnull ModulePositionType slot, int positionInt) {
    super.registerPosition(slot, positionInt);
    _sinkReply = new SinkReply(FixedPriority.PassiveSupplier, 0, true, false, 2, 0, new ChassiTargetInformation(getPositionInt()));
}
Also used : ChassiTargetInformation(logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation) SinkReply(logisticspipes.utils.SinkReply)

Example 4 with ChassiTargetInformation

use of logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation in project LogisticsPipes by RS485.

the class ModuleFluidSupplier method registerPosition.

@Override
public void registerPosition(@Nonnull ModulePositionType slot, int positionInt) {
    super.registerPosition(slot, positionInt);
    _sinkReply = new SinkReply(FixedPriority.ItemSink, 0, true, false, 0, 0, new ChassiTargetInformation(getPositionInt()));
}
Also used : ChassiTargetInformation(logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation) SinkReply(logisticspipes.utils.SinkReply)

Example 5 with ChassiTargetInformation

use of logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation in project LogisticsPipes by RS485.

the class ModuleOreDictItemSink method registerPosition.

@Override
public void registerPosition(@Nonnull ModulePositionType slot, int positionInt) {
    super.registerPosition(slot, positionInt);
    _sinkReply = new SinkReply(FixedPriority.OreDictItemSink, 0, true, false, 5, 0, new ChassiTargetInformation(getPositionInt()));
}
Also used : ChassiTargetInformation(logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation) SinkReply(logisticspipes.utils.SinkReply)

Aggregations

ChassiTargetInformation (logisticspipes.pipes.PipeLogisticsChassis.ChassiTargetInformation)12 SinkReply (logisticspipes.utils.SinkReply)11 IInventoryUtil (logisticspipes.interfaces.IInventoryUtil)1 ISlotUpgradeManager (logisticspipes.interfaces.ISlotUpgradeManager)1 ISpecialInsertion (logisticspipes.interfaces.ISpecialInsertion)1 ITargetSlotInformation (logisticspipes.interfaces.routing.ITargetSlotInformation)1 ModulePositionType (logisticspipes.modules.LogisticsModule.ModulePositionType)1 PipeItemsFluidSupplier (logisticspipes.pipes.PipeItemsFluidSupplier)1 PipeLogisticsChassis (logisticspipes.pipes.PipeLogisticsChassis)1 FluidRoutedPipe (logisticspipes.pipes.basic.fluid.FluidRoutedPipe)1 ItemStack (net.minecraft.item.ItemStack)1 EnumFacing (net.minecraft.util.EnumFacing)1