unregisterRecipe

fun unregisterRecipe(name: String? = null, plugin: JavaPlugin? = CustomCrafter.getInstance(), calledAsync: Boolean = false)

Unregisters recipes that match the specified conditions.

If both name and plugin are null, all registered recipes are unregistered.

Parameters

name

Target recipe name to filter by. If null, name is not used as a filter.

plugin

Plugin instance to filter by registering plugin. Defaults to CustomCrafter.getInstance, targeting recipes registered without an explicit plugin. Pass null to exclude the plugin from the filter criteria.

calledAsync

Called from async processing or not. (Default = false)