PocketMine-MP 5.15.1 git-08c6e63aac45a450fe3b437616ee8aa2500e04e2
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: