PHP Class pocketmine\event\block\BlockBreakEvent

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

Méthodes publiques

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

Protected Properties

Свойство Type Description
$blockDrops
$instaBreak boolean
$item pocketmine\item\Item
$player pocketmine\Player

Méthodes publiques

Méthode Description
__construct ( Player $player, Block $block, Item $item, $instaBreak = false )
getDrops ( ) : Item[]
getInstaBreak ( )
getItem ( )
getPlayer ( )
setDrops ( array $drops )
setInstaBreak ( boolean $instaBreak )

Method Details

__construct() public méthode

public __construct ( Player $player, Block $block, Item $item, $instaBreak = false )
$player pocketmine\Player
$block pocketmine\block\Block
$item pocketmine\item\Item

getDrops() public méthode

public getDrops ( ) : Item[]
Résultat pocketmine\item\Item[]

getInstaBreak() public méthode

public getInstaBreak ( )

getItem() public méthode

public getItem ( )

getPlayer() public méthode

public getPlayer ( )

setDrops() public méthode

public setDrops ( array $drops )
$drops array

setInstaBreak() public méthode

public setInstaBreak ( boolean $instaBreak )
$instaBreak boolean

Property Details

$blockDrops protected_oe property

protected $blockDrops

$handlerList public_oe static_oe property

public static $handlerList

$instaBreak protected_oe property

protected bool $instaBreak
Résultat boolean

$item protected_oe property

protected Item,pocketmine\item $item
Résultat pocketmine\item\Item

$player protected_oe property

protected Player,pocketmine $player
Résultat pocketmine\Player