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 named net/minecraft/client/search/TextSearchProvider
intermediary net/minecraft/class_1126
official gsu
-
Field Summary
Fields inherited from class net.minecraft.client.search.IdentifierSearchProvider
idSearcher, lastIndexComparator
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.search.IdentifierSearchProvider
findAll
-
Field Details
-
values
- Mappings:
Namespace Name Mixin selector named values
Lnet/minecraft/client/search/TextSearchProvider;values:Ljava/util/List;
intermediary field_39197
Lnet/minecraft/class_1126;field_39197:Ljava/util/List;
official c
Lgsu;c:Ljava/util/List;
-
textsGetter
- Mappings:
Namespace Name Mixin selector named textsGetter
Lnet/minecraft/client/search/TextSearchProvider;textsGetter:Ljava/util/function/Function;
intermediary field_5497
Lnet/minecraft/class_1126;field_5497:Ljava/util/function/Function;
official d
Lgsu;d:Ljava/util/function/Function;
-
textSearcher
- Mappings:
Namespace Name Mixin selector named textSearcher
Lnet/minecraft/client/search/TextSearchProvider;textSearcher:Lnet/minecraft/client/search/TextSearcher;
intermediary field_39198
Lnet/minecraft/class_1126;field_39198:Lnet/minecraft/class_7454;
official e
Lgsu;e:Lgsy;
-
-
Constructor Details
-
TextSearchProvider
public TextSearchProvider(Function<T, Stream<String>> textsGetter, Function<T, Stream<Identifier>> identifiersGetter, List<T> values) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/search/TextSearchProvider;<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
official <init>
Lgsu;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
-
-
Method Details
-
reload
public void reload()Reloads the search provider.- API Note:
- Implementations must supply the context (e.g. the new data) separately, for example by having a getter as a field on an implementing class.
- Mappings:
Namespace Name Mixin selector named reload
Lnet/minecraft/client/search/ReloadableSearchProvider;reload()V
intermediary method_4799
Lnet/minecraft/class_1123;method_4799()V
official a
Lgsz;a()V
-
search
- Overrides:
search
in classIdentifierSearchProvider<T>
- Mappings:
Namespace Name Mixin selector named search
Lnet/minecraft/client/search/IdentifierSearchProvider;search(Ljava/lang/String;)Ljava/util/List;
intermediary method_43791
Lnet/minecraft/class_1121;method_43791(Ljava/lang/String;)Ljava/util/List;
official a
Lgsv;a(Ljava/lang/String;)Ljava/util/List;
-
search
- Overrides:
search
in classIdentifierSearchProvider<T>
- Mappings:
Namespace Name Mixin selector named search
Lnet/minecraft/client/search/IdentifierSearchProvider;search(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;
official a
Lgsv;a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
-