Package net.minecraft.client.search
Class TextSearchableContainer<T>
java.lang.Object
net.minecraft.client.search.IdentifierSearchableContainer<T>
net.minecraft.client.search.TextSearchableContainer<T>
- All Implemented Interfaces:
Searchable<T>
,SearchableContainer<T>
@Environment(CLIENT) public class TextSearchableContainer<T> extends IdentifierSearchableContainer<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TextSearchableContainer.Iterator<T>
-
Field Summary
Fields Modifier and Type Field Description protected SuffixArray<T>
byText
private Function<T,Stream<String>>
textFinder
Fields inherited from class net.minecraft.client.search.IdentifierSearchableContainer
byNamespace, byPath
-
Constructor Summary
Constructors Constructor Description TextSearchableContainer(Function<T,Stream<String>> function, Function<T,Stream<Identifier>> function2)
-
Method Summary
Methods inherited from class net.minecraft.client.search.IdentifierSearchableContainer
add, clear, compare
-
Field Details
-
byText
-
textFinder
-
-
Constructor Details
-
TextSearchableContainer
-
-
Method Details
-
reload
public void reload()- Specified by:
reload
in interfaceSearchableContainer<T>
- Overrides:
reload
in classIdentifierSearchableContainer<T>
-
index
- Overrides:
index
in classIdentifierSearchableContainer<T>
-
findAll
- Specified by:
findAll
in interfaceSearchable<T>
- Overrides:
findAll
in classIdentifierSearchableContainer<T>
-