relateWith

Builds a MappedRelation by matching this recipe's slots against the given view in index order.

Return

MappedRelation Slot mapping between this recipe and the view

Parameters

view

The crafting grid snapshot to relate against

Throws

If the non-air item count in view does not match this recipe's slot count, or if the view spans more than 4 columns or 4 rows