PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\block\tile\Container Interface Reference
+ Inheritance diagram for pocketmine\block\tile\Container:
+ Collaboration diagram for pocketmine\block\tile\Container:

Public Member Functions

 canOpenWith (string $key)
 
 getInventory ()
 
 getRealInventory ()
 

Public Attributes

const TAG_ITEMS = "Items"
 
const TAG_LOCK = "Lock"
 

Detailed Description

Definition at line 29 of file Container.php.

Member Function Documentation

◆ canOpenWith()

pocketmine\block\tile\Container::canOpenWith ( string  $key)

Returns whether this container can be opened by an item with the given custom name.

Member Data Documentation

◆ TAG_ITEMS

const pocketmine\block\tile\Container::TAG_ITEMS = "Items"

Definition at line 30 of file Container.php.

◆ TAG_LOCK

const pocketmine\block\tile\Container::TAG_LOCK = "Lock"

Definition at line 31 of file Container.php.


The documentation for this interface was generated from the following file: