RecipeManager

object RecipeManager : Listener, PacketListener

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun <T : ConversionNovaRecipe> getConversionRecipeFor(type: RecipeType<T>, input: ItemStack): T?
Link copied to clipboard
fun <T : NovaRecipe> getRecipe(type: RecipeType<T>, id: Key): T?
Link copied to clipboard
fun Listener.registerEvents()

Shortcut for PluginManager.registerEvents, registered under the Nova plugin.

Link copied to clipboard
Link copied to clipboard
@JvmName(name = "registerHardcodedRecipes2")
fun registerHardcodedRecipes(recipes: Iterable<Recipe>)
@JvmName(name = "registerHardcodedRecipes1")
fun registerHardcodedRecipes(recipes: Iterable<NovaRecipe>)
Link copied to clipboard
fun Listener.unregisterEvents()

Unregisters this Listener from all events.