Stack router + Consistent item source + Item void flow

This commit is contained in:
Anuken
2021-11-06 16:31:42 -04:00
parent ed302d978c
commit da49328412
12 changed files with 162 additions and 15 deletions
@@ -273,6 +273,12 @@ public class ItemModule extends BlockModule{
}
}
public void handleFlow(Item item, int amount){
if(flow != null){
cacheSums[item.id] += amount;
}
}
public void undoFlow(Item item){
if(flow != null){
cacheSums[item.id] -= 1;