ItemEnchantmentTagRegistry
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.
Methods
getNested()
php
public function getNested(string $tag) : arrayReturns nested tags of a particular tag.
isTagArrayIntersection()
php
public function isTagArrayIntersection(array $firstTags, array $secondTags) : boolregister()
php
public function register(string $tag, array $nestedTags = []) : voidRegister tag and its nested tags.
removeNested()
php
public function removeNested(string $tag, array $nestedTags) : voidRemove specified nested tags.
unregister()
php
public function unregister(string $tag) : void