use of network.rs485.logisticspipes.inventory.FuzzySlotAccess in project LogisticsPipes by RS485.
the class LogisticsCraftingTable method importFuzzyFlags.
@Override
public void importFuzzyFlags(TileEntity tile, SlotAccess slotAccess, BitSetProperty fuzzyFlags) {
if (!(tile instanceof LogisticsCraftingTableTileEntity)) {
return;
}
LogisticsCraftingTableTileEntity bench = (LogisticsCraftingTableTileEntity) tile;
if (!bench.isFuzzy()) {
return;
}
fuzzyFlags.replaceWith(bench.fuzzyFlags);
new FuzzySlotAccess(slotAccess, fuzzyFlags).compactFirst(9);
}
Aggregations