RegisterCustomRecipeEvent

class RegisterCustomRecipeEvent(val recipes: List<CRecipe>, registeredBy: PluginMeta, isAsync: Boolean) : Event

Called when a recipe registered.

Parameters

recipes

registered recipe.

registeredBy

A plugin metadata that registered recipes.

isAsync

Called from async or not (since 5.2.0)

Constructors

Link copied to clipboard
constructor(recipes: List<CRecipe>, registeredBy: PluginMeta, isAsync: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:NotNull
open val eventName: @NotNull String
Link copied to clipboard
open override val handlers: HandlerList
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard

Returns a plugin metadata that registered recipes.