PocketMine-MP 5.28.3 git-d5a1007c80fcee27feb2251cf5dcf1ad5a59a85c
|
Public Member Functions | |
__construct (array $tagToIds) | |
addIdToTag (string $tag, string $id) | |
getIdsForTag (string $tag) | |
tagContainsId (string $tag, string $id) | |
Tracks Minecraft Bedrock item tags, and the item IDs which belong to them
Definition at line 42 of file ItemTagToIdMap.php.
pocketmine\data\bedrock\ItemTagToIdMap::__construct | ( | array | $tagToIds | ) |
string[][] | $tagToIds | @phpstan-param array<string, list<string>> $tagToIds |
Definition at line 81 of file ItemTagToIdMap.php.
pocketmine\data\bedrock\ItemTagToIdMap::addIdToTag | ( | string | $tag, |
string | $id ) |
Definition at line 103 of file ItemTagToIdMap.php.
pocketmine\data\bedrock\ItemTagToIdMap::getIdsForTag | ( | string | $tag | ) |
Definition at line 95 of file ItemTagToIdMap.php.
pocketmine\data\bedrock\ItemTagToIdMap::tagContainsId | ( | string | $tag, |
string | $id ) |
Definition at line 99 of file ItemTagToIdMap.php.