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 official gig
intermediary net/minecraft/class_1121
named net/minecraft/client/search/IdentifierSearchProvider
-
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 official a
Lgig;a:Ljava/util/Comparator;
intermediary field_39199
Lnet/minecraft/class_1121;field_39199:Ljava/util/Comparator;
named lastIndexComparator
Lnet/minecraft/client/search/IdentifierSearchProvider;lastIndexComparator:Ljava/util/Comparator;
-
idSearcher
- Mappings:
Namespace Name Mixin selector official b
Lgig;b:Lgil;
intermediary field_39200
Lnet/minecraft/class_1121;field_39200:Lnet/minecraft/class_7455;
named idSearcher
Lnet/minecraft/client/search/IdentifierSearchProvider;idSearcher:Lnet/minecraft/client/search/IdentifierSearcher;
-
-
Constructor Details
-
IdentifierSearchProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lgig;<init>(Ljava/util/function/Function;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_1121;<init>(Ljava/util/function/Function;Ljava/util/List;)V
named <init>
Lnet/minecraft/client/search/IdentifierSearchProvider;<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 official search
Lgin;search(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/SearchProvider;findAll(Ljava/lang/String;)Ljava/util/List;
-
search
- Mappings:
Namespace Name Mixin selector official a
Lgig;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
- Mappings:
Namespace Name Mixin selector official a
Lgig;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;
-