PylonCraftEvent

class PylonCraftEvent<T : PylonRecipe> @JvmOverloads constructor(val type: RecipeType<T>, val recipe: T, val block: PylonBlock? = null) : Event(source)

Called when a crafting recipe is started.

Constructors

Link copied to clipboard
constructor(type: RecipeType<T>, recipe: T, block: PylonBlock? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val block: PylonBlock? = null
Link copied to clipboard
val recipe: T
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
@NotNull
open fun getEventName(): @NotNull String
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard