PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\tile\Container Interface Reference
+ Inheritance diagram for pocketmine\tile\Container:
+ Collaboration diagram for pocketmine\tile\Container:

Public Member Functions

 getItem ($index)
 
 setItem ($index, Item $item)
 
 getSize ()
 

Detailed Description

Definition at line 27 of file Container.php.

Member Function Documentation

pocketmine\tile\Container::getItem (   $index)
Parameters
int$index
Returns
Item

Implemented in pocketmine\tile\Furnace, and pocketmine\tile\Chest.

pocketmine\tile\Container::getSize ( )
Returns
int

Implemented in pocketmine\tile\Furnace, and pocketmine\tile\Chest.

pocketmine\tile\Container::setItem (   $index,
Item  $item 
)
Parameters
int$index
Item$item

Implemented in pocketmine\tile\Furnace, and pocketmine\tile\Chest.


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