Class MatchGroup

  • All Implemented Interfaces:

    
    public final class MatchGroup
    
                        

    A group of recipe slots (identified by their CoordinateComponent keys in CRecipe.items) that is satisfied as a whole rather than slot-by-slot.

    Used by CRecipe.matchGroups to tell CRecipe.Type.SHAPELESS matching how many of members must actually be filled by an input item. A recipe slot whose coordinate is not covered by matching is simply never assigned an input; unlike GroupRecipe, no Material.AIR placeholder candidate is required to express "this slot may stay empty".

    Since:

    5.3.0