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>
- Mappings:
Namespace Name official eus
intermediary net/minecraft/class_1126
named net/minecraft/client/search/TextSearchableContainer
-
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
- Mappings:
Namespace Name Mixin selector official c
Leus;c:Leuv;
intermediary field_5498
Lnet/minecraft/class_1126;field_5498:Lnet/minecraft/class_1128;
named byText
Lnet/minecraft/client/search/TextSearchableContainer;byText:Lnet/minecraft/client/search/SuffixArray;
-
textFinder
- Mappings:
Namespace Name Mixin selector official d
Leus;d:Ljava/util/function/Function;
intermediary field_5497
Lnet/minecraft/class_1126;field_5497:Ljava/util/function/Function;
named textFinder
Lnet/minecraft/client/search/TextSearchableContainer;textFinder:Ljava/util/function/Function;
-
-
Constructor Details
-
TextSearchableContainer
-
-
Method Details
-
reload
public void reload()- Specified by:
reload
in interfaceSearchableContainer<T>
- Overrides:
reload
in classIdentifierSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official b
Leuq;b()V
intermediary method_4799
Lnet/minecraft/class_1123;method_4799()V
named reload
Lnet/minecraft/client/search/SearchableContainer;reload()V
-
index
- Overrides:
index
in classIdentifierSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official b
Leur;b(Ljava/lang/Object;)V
intermediary method_4795
Lnet/minecraft/class_1121;method_4795(Ljava/lang/Object;)V
named index
Lnet/minecraft/client/search/IdentifierSearchableContainer;index(Ljava/lang/Object;)V
-
findAll
- Specified by:
findAll
in interfaceSearchable<T>
- Overrides:
findAll
in classIdentifierSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official a
Leuu;a(Ljava/lang/String;)Ljava/util/List;
intermediary method_4810
Lnet/minecraft/class_1129;method_4810(Ljava/lang/String;)Ljava/util/List;
named findAll
Lnet/minecraft/client/search/Searchable;findAll(Ljava/lang/String;)Ljava/util/List;
-