Package net.minecraft.client.searchtree
Interface SearchTree<T>
- All Known Implementing Classes:
FullTextSearchTree,IdSearchTree
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
empty
-
plainText
-
search
Searches this search tree for the given text.If the query does not contain a
:, then onlyis searched. If it does contain a colon, bothinvalid reference
#byNameandinvalid reference
#byNameare searched and the results are merged using ainvalid reference
#byId.invalid reference
MergingIterator- Returns:
- A list of all matching items in this search tree.
-