Skip to content

ComplexInventoryMapEntry ​

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

Methods ​

__construct() ​

php
public function __construct(\pocketmine\inventory\Inventory $inventory, array $slotMap)

getInventory() ​

php
public function getInventory() : \pocketmine\inventory\Inventory

getSlotMap() ​

php
public function getSlotMap() : array

mapCoreToNet() ​

php
public function mapCoreToNet(int $slot) : ?int

mapNetToCore() ​

php
public function mapNetToCore(int $slot) : ?int

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