Use priority to determine extract order of items in IO Port (#889)

This commit is contained in:
hiroscho authored and GitHub committed 2025-11-07 20:27:06 +01:00
1 parent 9538c880a7
commit 5fa11aea1f
7 files changed
+331 -14

No files matched your search

+6
View File
@@ -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();