Package net.minecraft.client.search
Class TextSearchProvider<T>
java.lang.Object
net.minecraft.client.search.IdentifierSearchProvider<T>
net.minecraft.client.search.TextSearchProvider<T>
- All Implemented Interfaces:
ReloadableSearchProvider<T>
,SearchProvider<T>
- Mappings:
Namespace Name official fna
intermediary net/minecraft/class_1126
named net/minecraft/client/search/TextSearchProvider
-
Field Summary
FieldsFields inherited from class net.minecraft.client.search.IdentifierSearchProvider
idSearcher, lastIndexComparator
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.client.search.IdentifierSearchProvider
findAll
-
Field Details
-
values
- Mappings:
Namespace Name Mixin selector official c
Lfna;c:Ljava/util/List;
intermediary field_39197
Lnet/minecraft/class_1126;field_39197:Ljava/util/List;
named values
Lnet/minecraft/client/search/TextSearchProvider;values:Ljava/util/List;
-
textsGetter
- Mappings:
Namespace Name Mixin selector official d
Lfna;d:Ljava/util/function/Function;
intermediary field_5497
Lnet/minecraft/class_1126;field_5497:Ljava/util/function/Function;
named textsGetter
Lnet/minecraft/client/search/TextSearchProvider;textsGetter:Ljava/util/function/Function;
-
textSearcher
- Mappings:
Namespace Name Mixin selector official e
Lfna;e:Lfne;
intermediary field_39198
Lnet/minecraft/class_1126;field_39198:Lnet/minecraft/class_7454;
named textSearcher
Lnet/minecraft/client/search/TextSearchProvider;textSearcher:Lnet/minecraft/client/search/TextSearcher;
-
-
Constructor Details
-
TextSearchProvider
public TextSearchProvider(Function<T, Stream<String>> textsGetter, Function<T, Stream<Identifier>> identifiersGetter, List<T> values) - Mappings:
Namespace Name Mixin selector official <init>
Lfna;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_1126;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
named <init>
Lnet/minecraft/client/search/TextSearchProvider;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
-
-
Method Details
-
reload
public void reload()Reloads the search provider.- Mappings:
Namespace Name Mixin selector official a
Lfnf;a()V
intermediary method_4799
Lnet/minecraft/class_1123;method_4799()V
named reload
Lnet/minecraft/client/search/ReloadableSearchProvider;reload()V
-
search
- Overrides:
search
in classIdentifierSearchProvider<T>
- Mappings:
Namespace Name Mixin selector official a
Lfnb;a(Ljava/lang/String;)Ljava/util/List;
intermediary method_43791
Lnet/minecraft/class_1121;method_43791(Ljava/lang/String;)Ljava/util/List;
named search
Lnet/minecraft/client/search/IdentifierSearchProvider;search(Ljava/lang/String;)Ljava/util/List;
-
search
- Overrides:
search
in classIdentifierSearchProvider<T>
- Mappings:
Namespace Name Mixin selector official a
Lfnb;a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
intermediary method_43792
Lnet/minecraft/class_1121;method_43792(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
named search
Lnet/minecraft/client/search/IdentifierSearchProvider;search(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
-