Search in sources :

Example 11 with ChassiTargetInformation

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

the class ModuleEnchantmentSinkMK2 method registerPosition.

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

Example 12 with ChassiTargetInformation

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

the class ModuleItemSink method registerPosition.

@Override
public void registerPosition(@Nonnull ModulePositionType slot, int positionInt) {
    super.registerPosition(slot, positionInt);
    _sinkReply = new SinkReply(FixedPriority.ItemSink, 0, true, false, 1, 0, new ChassiTargetInformation(getPositionInt()));
    _sinkReplyDefault = new SinkReply(FixedPriority.DefaultRoute, 0, true, true, 1, 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