Applied ComputerCraft 0.4.0 (26.1.2)
Curse Maven Snippet
What's new
What's new
- Computers can now check how many pattern slots your AE2 network has and how many are still free.
- The slot count is broken down by kind of pattern holder, so you can see which provider types are filling up.
- Add-on pattern holders are counted as well, including AdvancedAE's Advanced Pattern Provider and the Pattern Cores of ExtendedAE's Assembler Matrix.
- Server admins who have turned off network inspection have this new feature turned off too.
Added
getPatternCapacity()onme_bridgereturns{used, total, free, hosts}for the pattern slots across the network (#9) (8e47544).hostshas one entry per kind of holder, with these fields:name: the block's registry id, the item id for a cable-mounted part, or"unknown".displayNamecount: the number of pattern inventories of that kind.used,totalandfree: pattern slots summed over all of them.
- Entries are sorted by
total, largest first, with ties broken byname. - Holders that count:
- AE2 Pattern Providers, both block and part.
- Add-on pattern providers such as AdvancedAE's Advanced Pattern Provider.
- ExtendedAE Assembler Matrix Pattern Cores.
- Any other add-on crafting provider that exposes
getPatternInventory().
- Machines that only have recipe slots are not counted.
- Slots are counted whether or not each machine is powered. The network itself must be active, as with the other methods.
- Use this for free slots, not as a pattern count.
getPatternscan report more patterns than there are used slots here, because it merges duplicates and includes virtual patterns from recursive providers. - The
allowNetworkInfoconfig option controls this method along with the other network inspection methods.
Full changelog: https://github.com/danielbowne/applied-computercraft/compare/v0.3.0...v0.4.0
This mod has no additional files

