Container
Extends InventoryHolder
Constants
TAG_ITEMS
php
public const TAG_ITEMS = "Items"TAG_LOCK
php
public const TAG_LOCK = "Lock"TAG_LOOT_TABLE 5.46.0
php
public const TAG_LOOT_TABLE = "LootTable"TAG_LOOT_TABLE_SEED 5.46.0
php
public const TAG_LOOT_TABLE_SEED = "LootTableSeed"TAG_LOOT_TABLE_SEED_LONG 5.46.0
php
public const TAG_LOOT_TABLE_SEED_LONG = "LootTableSeedLong"Methods
canOpenWith()
php
public function canOpenWith(string $key) : boolReturns whether this container can be opened by an item with the given custom name.
getRealInventory()
php
public function getRealInventory() : \pocketmine\inventory\Inventory