PocketMine-MP 5.23.3 git-4a4572131f27ab967701ceaaf2020cfbe26e375c
|
Public Member Functions | |
__construct (private array $blockToItemId) | |
lookupBlockId (string $itemId) | |
lookupItemId (string $blockId) | |
Bidirectional map of block IDs to their corresponding blockitem IDs, used for storing items on disk
Definition at line 38 of file BlockItemIdMap.php.
pocketmine\data\bedrock\item\BlockItemIdMap::__construct | ( | private array | $blockToItemId | ) |
string[] | $blockToItemId | @phpstan-param array<string, string> $blockToItemId |
Definition at line 64 of file BlockItemIdMap.php.
pocketmine\data\bedrock\item\BlockItemIdMap::lookupBlockId | ( | string | $itemId | ) |
Definition at line 72 of file BlockItemIdMap.php.
pocketmine\data\bedrock\item\BlockItemIdMap::lookupItemId | ( | string | $blockId | ) |
Definition at line 68 of file BlockItemIdMap.php.