registerRecipe

fun registerRecipe(vararg recipes: CRecipe): Boolean

registers a provided recipe and calls RegisterCustomRecipeEvent.

if a called event is cancelled, always fail to register recipe.

in normally, a result of RECIPES.add(recipe).

Parameters

recipes

a recipe what you want to register.

Throws

Calls when the specified recipe is invalid