Package net.minecraft.client.search
Class IdentifierSearchProvider<T>
java.lang.Object
net.minecraft.client.search.IdentifierSearchProvider<T>
- All Implemented Interfaces:
SearchProvider<T>
- Direct Known Subclasses:
TextSearchProvider
@Environment(CLIENT)
public class IdentifierSearchProvider<T>
extends Object
implements SearchProvider<T>
- Mappings:
Namespace Name named net/minecraft/client/search/IdentifierSearchProvider
intermediary net/minecraft/class_1121
official hfn
-
Field Summary
Modifier and TypeFieldDescriptionprotected final IdentifierSearcher
<T> protected final Comparator
<T> -
Constructor Summary
ConstructorDescriptionIdentifierSearchProvider
(Function<T, Stream<Identifier>> identifiersGetter, List<T> values) -
Method Summary
-
Field Details
-
lastIndexComparator
- Mappings:
Namespace Name Mixin selector named lastIndexComparator
Lnet/minecraft/client/search/IdentifierSearchProvider;lastIndexComparator:Ljava/util/Comparator;
intermediary field_39199
Lnet/minecraft/class_1121;field_39199:Ljava/util/Comparator;
official a
Lhfn;a:Ljava/util/Comparator;
-
idSearcher
- Mappings:
Namespace Name Mixin selector named idSearcher
Lnet/minecraft/client/search/IdentifierSearchProvider;idSearcher:Lnet/minecraft/client/search/IdentifierSearcher;
intermediary field_39200
Lnet/minecraft/class_1121;field_39200:Lnet/minecraft/class_7455;
official b
Lhfn;b:Lhfq;
-
-
Constructor Details
-
IdentifierSearchProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/search/IdentifierSearchProvider;<init>(Ljava/util/function/Function;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_1121;<init>(Ljava/util/function/Function;Ljava/util/List;)V
official <init>
Lhfn;<init>(Ljava/util/function/Function;Ljava/util/List;)V
-
-
Method Details
-
findAll
Returns the search result oftext
.- Specified by:
findAll
in interfaceSearchProvider<T>
- Returns:
- the search result of
text
- Mappings:
Namespace Name Mixin selector named findAll
Lnet/minecraft/client/search/SearchProvider;findAll(Ljava/lang/String;)Ljava/util/List;
intermediary method_4810
Lnet/minecraft/class_1129;method_4810(Ljava/lang/String;)Ljava/util/List;
official search
Lhfr;search(Ljava/lang/String;)Ljava/util/List;
-
search
- 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
Lhfn;a(Ljava/lang/String;)Ljava/util/List;
-
search
- 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
Lhfn;a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
-