InventoryManagerEntry
Properties
$bundleContainer 5.46.0
php
public ?\pocketmine\network\mcpe\BundleContainer $bundleContainerSet if this inventory mirrors the contents of a bundle.
$bundleIds 5.46.0
php
public array $bundleIdsDynamic 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 $newBundleIdsSlots 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 $predictionsMethods
__construct()
php
public function __construct(\pocketmine\inventory\Inventory $inventory, ?\pocketmine\network\mcpe\ComplexInventoryMapEntry $complexSlotMap = null, ?\pocketmine\network\mcpe\BundleContainer $bundleContainer = null)