createGroups

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

missingGroups

Set of MatchGroups already created

See also

Throws

If the resulting set is invalid.