create Groups
fun createGroups(items: Map<CoordinateComponent, CMatter>, missingGroups: Set<MatchGroup>): Set<MatchGroup>
Creates a collection of MatchGroups, which are grouping settings that can be set in ShapelessGroupRecipe.groups.
missingGroups is a collection of already created MatchGroups; any coordinates of items not covered by them are each turned into their own mandatory group (MatchGroup.mandatory).
If the resulting set is invalid, throws an exception.
Return
Set A MatchGroup set usable for ShapelessGroupRecipe.groups
Since
5.3.0
Parameters
items
Coordinate and CMatter mapping
missing Groups
Set of MatchGroups already created
See also
Throws
If the resulting set is invalid.