PHP Class pocketmine\event\block\BlockPlaceEvent

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

Méthodes publiques

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

Protected Properties

Свойство Type Description
$blockAgainst
$blockReplace
$item pocketmine\item\Item
$player pocketmine\Player

Méthodes publiques

Méthode Description
__construct ( Player $player, Block $blockPlace, Block $blockReplace, Block $blockAgainst, Item $item )
getBlockAgainst ( )
getBlockReplaced ( )
getItem ( ) : mixed Gets the item in hand
getPlayer ( )

Method Details

__construct() public méthode

public __construct ( Player $player, Block $blockPlace, Block $blockReplace, Block $blockAgainst, Item $item )
$player pocketmine\Player
$blockPlace pocketmine\block\Block
$blockReplace pocketmine\block\Block
$blockAgainst pocketmine\block\Block
$item pocketmine\item\Item

getBlockAgainst() public méthode

public getBlockAgainst ( )

getBlockReplaced() public méthode

public getBlockReplaced ( )

getItem() public méthode

Gets the item in hand
public getItem ( ) : mixed
Résultat mixed

getPlayer() public méthode

public getPlayer ( )

Property Details

$blockAgainst protected_oe property

protected $blockAgainst

$blockReplace protected_oe property

protected $blockReplace

$handlerList public_oe static_oe property

public static $handlerList

$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