CreateCustomItemEvent

class CreateCustomItemEvent(val player: Player, val view: CraftView, val result: Search.SearchResult?, val shiftUsed: Boolean, isAsync: Boolean) : Event

Called when a player did craft items what through custom crafting table.

Parameters

player

A crafter

view

A view of crafting gui

result

A result of crafting

shiftUsed

Shift-key used or not (since 5.0.17)

isAsync

Called from async or not (since 5.0.17)

Constructors

Link copied to clipboard
constructor(player: Player, view: CraftView, result: Search.SearchResult?, shiftUsed: Boolean, 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
val player: Player
Link copied to clipboard
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