|
PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
|
Collaboration diagram for pocketmine\item\enchantment\ItemEnchantmentTagRegistry:Public Member Functions | |
| getNested (string $tag) | |
| isTagArrayIntersection (array $firstTags, array $secondTags) | |
| register (string $tag, array $nestedTags=[]) | |
| removeNested (string $tag, array $nestedTags) | |
| unregister (string $tag) | |
Manages known item enchantment tags and the relations between them. Used to determine which tags belong to which other tags, and to check if lists of tags intersect.
Definition at line 42 of file ItemEnchantmentTagRegistry.php.
| pocketmine\item\enchantment\ItemEnchantmentTagRegistry::getNested | ( | string | $tag | ) |
Returns nested tags of a particular tag.
Definition at line 128 of file ItemEnchantmentTagRegistry.php.
| pocketmine\item\enchantment\ItemEnchantmentTagRegistry::isTagArrayIntersection | ( | array | $firstTags, |
| array | $secondTags ) |
| string[] | $firstTags | |
| string[] | $secondTags |
Definition at line 136 of file ItemEnchantmentTagRegistry.php.
| pocketmine\item\enchantment\ItemEnchantmentTagRegistry::register | ( | string | $tag, |
| array | $nestedTags = [] ) |
Register tag and its nested tags.
| string[] | $nestedTags |
Definition at line 81 of file ItemEnchantmentTagRegistry.php.
| pocketmine\item\enchantment\ItemEnchantmentTagRegistry::removeNested | ( | string | $tag, |
| array | $nestedTags ) |
Remove specified nested tags.
| string[] | $nestedTags |
Definition at line 118 of file ItemEnchantmentTagRegistry.php.
| pocketmine\item\enchantment\ItemEnchantmentTagRegistry::unregister | ( | string | $tag | ) |
Definition at line 97 of file ItemEnchantmentTagRegistry.php.