PHP Class pocketmine\event\inventory\CraftItemEvent

Inheritance: extends pocketmine\event\Event, implements pocketmine\event\Cancellable
Show file Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Player $player, array $input, pocketmine\inventory\Recipe $recipe )
getInput ( ) : Item[]
getPlayer ( ) : Player
getRecipe ( ) : pocketmine\inventory\Recipe

Method Details

__construct() public method

public __construct ( Player $player, array $input, pocketmine\inventory\Recipe $recipe )
$player pocketmine\Player
$input array
$recipe pocketmine\inventory\Recipe

getInput() public method

public getInput ( ) : Item[]
return pocketmine\item\Item[]

getPlayer() public method

public getPlayer ( ) : Player
return pocketmine\Player

getRecipe() public method

public getRecipe ( ) : pocketmine\inventory\Recipe
return pocketmine\inventory\Recipe

Property Details

$handlerList public static property

public static $handlerList