mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-26 06:53:33 +00:00
Use priority to determine extract order of items in IO Port (#889)
This commit is contained in:
1 parent
9538c880a7
commit
5fa11aea1f
7 files changed
+331
-14
No files matched your search
@@ -40,6 +40,7 @@ import appeng.me.storage.ItemWatcher;
|
||||
import appeng.util.IterationCounter;
|
||||
import appeng.util.item.LazyItemList;
|
||||
import appeng.util.item.NetworkItemList;
|
||||
import appeng.util.item.PrioritizedNetworkItemList;
|
||||
|
||||
public class NetworkMonitor<T extends IAEStack<T>> implements IMEMonitor<T> {
|
||||
|
||||
@@ -108,6 +109,11 @@ public class NetworkMonitor<T extends IAEStack<T>> implements IMEMonitor<T> {
|
||||
return this.getHandler().getAvailableItems(out, iteration);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrioritizedNetworkItemList<T> getAvailableItemsWithPriority(int iteration) {
|
||||
return this.getHandler().getAvailableItemsWithPriority(iteration);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorageChannel getChannel() {
|
||||
return this.getHandler().getChannel();
|
||||
|
||||
Reference in new issue
Block a user