Package net.minecraft.client.search
Class IdentifierSearchableContainer<T>
java.lang.Object
net.minecraft.client.search.IdentifierSearchableContainer<T>
- All Implemented Interfaces:
Searchable<T>
,SearchableContainer<T>
- Direct Known Subclasses:
TextSearchableContainer
@Environment(CLIENT) public class IdentifierSearchableContainer<T> extends Object implements SearchableContainer<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdentifierSearchableContainer.Iterator<T>
-
Field Summary
Fields Modifier and Type Field Description protected SuffixArray<T>
byNamespace
protected SuffixArray<T>
byPath
private List<T>
entries
private Object2IntMap<T>
entryIds
private Function<T,Stream<Identifier>>
identifierFinder
-
Constructor Summary
Constructors Constructor Description IdentifierSearchableContainer(Function<T,Stream<Identifier>> function)
-
Method Summary
-
Field Details
-
byNamespace
-
byPath
-
identifierFinder
-
entries
-
entryIds
-
-
Constructor Details
-
IdentifierSearchableContainer
-
-
Method Details
-
reload
public void reload()- Specified by:
reload
in interfaceSearchableContainer<T>
-
add
- Specified by:
add
in interfaceSearchableContainer<T>
-
clear
public void clear()- Specified by:
clear
in interfaceSearchableContainer<T>
-
index
-
compare
-
findAll
- Specified by:
findAll
in interfaceSearchable<T>
-