isValidRecipe

open override fun isValidRecipe()

Validates this recipe's configuration.

Throws IllegalArgumentException if fewer than 2 items are registered, since a single item can never satisfy any adjacency condition. Otherwise, delegates to CRecipe.isValidRecipe.

Since

5.1.0

Throws

If fewer than 2 items are registered

If the item count exceeds RelationType.maxCount, or the recipe is otherwise invalid