PHP Class pocketmine\event\player\PlayerGlassBottleEvent

Inheritance: extends PlayerEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Méthodes publiques

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

Method Details

__construct() public méthode

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

getBlock() public méthode

public getBlock ( ) : Block
Résultat pocketmine\block\Block

getItem() public méthode

public getItem ( ) : Item
Résultat pocketmine\item\Item

setItem() public méthode

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

Property Details

$handlerList public_oe static_oe property

public static $handlerList