PHP Class pocketmine\event\player\PlayerGlassBottleEvent

Inheritance: extends PlayerEvent, implements pocketmine\event\Cancellable
显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Player $Player, Block $target, Item $itemInHand )
getBlock ( ) : Block
getItem ( ) : Item
setItem ( Item $item )

Method Details

__construct() public method

public __construct ( Player $Player, Block $target, Item $itemInHand )
$Player pocketmine\Player
$target pocketmine\block\Block
$itemInHand pocketmine\item\Item

getBlock() public method

public getBlock ( ) : Block
return pocketmine\block\Block

getItem() public method

public getItem ( ) : Item
return pocketmine\item\Item

setItem() public method

public setItem ( Item $item )
$item pocketmine\item\Item

Property Details

$handlerList public_oe static_oe property

public static $handlerList