Skip to content

InventoryManagerEntry ​

final class · pocketmine\network\mcpe\InventoryManagerEntry · source

Properties ​

$bundleContainer 5.46.0 ​

php
public ?\pocketmine\network\mcpe\BundleContainer $bundleContainer

Set if this inventory mirrors the contents of a bundle.

$bundleIds 5.46.0 ​

php
public array $bundleIds

Dynamic container IDs of the bundles in this inventory, by slot.

$complexSlotMap ​

php
public ?\pocketmine\network\mcpe\ComplexInventoryMapEntry $complexSlotMap

$inventory ​

php
public \pocketmine\inventory\Inventory $inventory

$itemStackInfos ​

php
public array $itemStackInfos

$newBundleIds 5.46.0 ​

php
public array $newBundleIds

Slots holding a bundle whose container ID was assigned without the client knowing it yet, so the slot must be sent to the client even if the change was predicted.

$pendingSyncs ​

php
public array $pendingSyncs

$predictions ​

php
public array $predictions

Methods ​

__construct() ​

php
public function __construct(\pocketmine\inventory\Inventory $inventory, ?\pocketmine\network\mcpe\ComplexInventoryMapEntry $complexSlotMap = null, ?\pocketmine\network\mcpe\BundleContainer $bundleContainer = null)

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.