Search items in chests using Litematica material list
eloix2 opened this issue · 6 comments
Greetings! Not sure if this would be possible or if it is interesting enough, but it would be nice to have some kind of button to search all items from an active material list from Litematica mod. I've been building some farms using schematics and I think this would be pretty useful, as I find myself writing every item every time I need something.
Anyway, amazing mod, it has saved me from going insane!
It's currently in the 'planned at some point' phase; there used to be a litematica fork that added support themselves, but given I've never really used the mod I'd have to look into it
Made an experimental implementation that adds two buttons; one to search for all missing and to search for individual missing. Not polished or well tested yet.
It's available on the actions run for now: https://github.com/JackFred2/ChestTracker/actions/runs/11006444663/artifacts/1969536469 (don't use the -sources
jar.
Hello! Thank you for the quick implementation. I've been testing the actions version, and so far, it seems to be working perfectly! There's just one thing I noticed: it would be nice to have the ability to adjust the duration for which the chests are highlighted when searching for items. When using the "search all missing" option, there's often not enough time to check all the chests. I'm not sure if this feature is already implemented, but I couldn't find any configuration option related to time in the mod settings.
I've attached some screenshots to verify that the implementation is working fine:
(The chest that is not highlighted only contains obsidian, and all the obsidian in the schematic has already been placed, so everything is working as expected.)
Finalized in #236