This mod is an addon for MineColonies and CC: Tweaked, allowing you to retrieve all sorts of data about your colony. This can then be used for status displays or for automation.
Click the Wiki link above for documentation.
Modpack permission: go right ahead, for any Curseforge-based modpacks. Otherwise please ask first.
Where wiki link?
Probably not, that feels a bit too cheaty.
Having said that, you can already do it -- just run a wired modem network out to every individual hut block that you want to spy on, and it can be accessed as a peripheral (hint: you can name the modems for easier access) which includes being able to read its inventory. Though note that the network will be disassembled whenever you repair or upgrade the building.
Alternatively you can look into other mods that allow you to read inventory contents remotely, such as RFTools Storage -- they have some additional balance such as requiring power.
In reply to uecasm:
How can I attach modems to the hut blocks? For me this doesnt work (from any side). I can attach modems to pretty much all blocks except those from Minecolonies.
In reply to manymoney2:
They're not fully-solid blocks, so you can't use the small modem, you need to craft it into the full-block modem instead.
In reply to uecasm:
Sadly this doesnt work for me either. When right clicking the Modem lights up and says "connected warehouse..." in chat. But the light immedeately goes out and disconnects.
When i click a second time it says "connected" again instead of disconnecting
Thank you for the quick fix on the counts. Any chance that inventory checking for buildings other than the builder/mine will be able to be scanned/checked? I would like to create an inventory manager for minecolonies using this mod, though I would need to know what resources the colony has in all storages, not just in the builders.
I'm loving the mod, my only issue is I'm trying to display the current items needed and the amount but the count associated with the items seems to just be a minimum and maximum stack size. Any insight would be helpful!
In reply to HyJyncks:
The "maxStackSize" in each item is the standard CC stack info -- it's the actual max amount you can have in a stack of that item (i.e. 64 for most items, 16 for ender pearls, etc). It's mostly uninteresting, but it's just the standard way that items are rendered into lua.
At the top, the "count" is what they're actually asking for. The "minCount" is the minimum amount that a courier will take as partial supply for the request, but not enough to actually complete it. (In case you don't have enough for the whole request right now, but you can supply just enough to keep the builder happy while waiting for the rest.)
In reply to uecasm:
count seems to only return 1 currently. I have tried many things to get it to work, but it just doesnt. I posted as an issue with example code used on github
Could you use this to pull resources out of a storage mod like Refined Storage and put them in a MineColonies warehouse when the builder requests items?
In reply to GameVogue:
You certainly can. It's a bit trickier than it sounds, because the request won't go away immediately when you supply the items, so you need to keep track of what you've already supplied for a little while.
As for interfacing with RS itself, you can use my other mod for that. 😉
In reply to uecasm:
Sweet, thanks! Keep up the good work.
I never even though about this as an idea, we tend not to think of our Colonies as a machine, but they effectively are.
This is pretty great, thanks!