TODO for cleanup

This commit is contained in:
Ell 2024-11-27 21:46:51 +01:00
parent f6ca9297dd
commit 24b1bbd84b

View file

@ -71,6 +71,7 @@ public class PipeBlockEntity extends BlockEntity implements MenuProvider, IPipeC
PipeBlockEntity.this.setChanged(); PipeBlockEntity.this.setChanged();
} }
}; };
// TODO instead of having these loose lists, it would be nice to have a "ModuleData" system that allows modules to store an object of custom data on the pipe
// crafting module slot, ingredient request network locks (one list for each recipe) // crafting module slot, ingredient request network locks (one list for each recipe)
public final List<Pair<Integer, List<NetworkLock>>> craftIngredientRequests = new ArrayList<>(); public final List<Pair<Integer, List<NetworkLock>>> craftIngredientRequests = new ArrayList<>();
// crafting module slot, destination pipe for the result, result item // crafting module slot, destination pipe for the result, result item