Package net.minecraft.client.search
Class IdentifierSearchProvider<T>
java.lang.Object
net.minecraft.client.search.IdentifierSearchProvider<T>
- All Implemented Interfaces:
ReloadableSearchProvider<T>
,SearchProvider<T>
- Direct Known Subclasses:
TextSearchProvider
@Environment(CLIENT)
public class IdentifierSearchProvider<T>
extends Object
implements ReloadableSearchProvider<T>
- Mappings:
Namespace Name named net/minecraft/client/search/IdentifierSearchProvider
intermediary net/minecraft/class_1121
official gsv
-
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.search.ReloadableSearchProvider
reload
-
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
Lgsv;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
Lgsv;b:Lgta;
-
-
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>
Lgsv;<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
Lgtc;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
Lgsv;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
Lgsv;a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
-