PHP Class pocketmine\inventory\ChestInventory

Inheritance: extends ContainerInventory
显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Methods

Method Description
__construct ( Chest $tile )
getContents ( $withAir = false )
getHolder ( ) : Chest
onClose ( Player $who )
onOpen ( Player $who )

Method Details

__construct() public method

public __construct ( Chest $tile )
$tile pocketmine\tile\Chest

getContents() public method

public getContents ( $withAir = false )

getHolder() public method

public getHolder ( ) : Chest
return pocketmine\tile\Chest

onClose() public method

public onClose ( Player $who )
$who pocketmine\Player

onOpen() public method

public onOpen ( Player $who )
$who pocketmine\Player