Documentation

Container extends InventoryHolder

Table of Contents

TAG_ITEMS  = "Items"
TAG_LOCK  = "Lock"
canOpenWith()  : bool
Returns whether this container can be opened by an item with the given custom name.
getInventory()  : Inventory
Get the object related inventory
getRealInventory()  : Inventory

Constants

Methods

canOpenWith()

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

public canOpenWith(string $key) : bool
Parameters
$key : string
Return values
bool

Search results