Package net.minecraft.client.search
Interface IdentifierSearcher<T>
An interface used for searching with an identifier's path or namespace.
- Mappings:
- Namespace - Name - official - fyj- intermediary - net/minecraft/class_7455- named - net/minecraft/client/search/IdentifierSearcher
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> IdentifierSearcher<T>of()Returns a searcher that always returns no results.static <T> IdentifierSearcher<T>of(List<T> values, Function<T, Stream<Identifier>> identifiersGetter) Returns a searcher that searches fromvalues.searchNamespace(String namespace) Returns the results of searching from the namespaces of the ids.searchPath(String path) Returns the results of searching from the paths of the ids.
- 
Method Details- 
ofReturns a searcher that always returns no results.- Returns:
- a searcher that always returns no results
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfyj;a()Lfyj;- intermediary - method_43799- Lnet/minecraft/class_7455;method_43799()Lnet/minecraft/class_7455;- named - of- Lnet/minecraft/client/search/IdentifierSearcher;of()Lnet/minecraft/client/search/IdentifierSearcher;
 
- 
ofstatic <T> IdentifierSearcher<T> of(List<T> values, Function<T, Stream<Identifier>> identifiersGetter) Returns a searcher that searches fromvalues.- Parameters:
- identifiersGetter- a function that, when given a value from- values, returns a stream of identifiers associated with the value
- Returns:
- a searcher that searches from values
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfyj;a(Ljava/util/List;Ljava/util/function/Function;)Lfyj;- intermediary - method_43802- Lnet/minecraft/class_7455;method_43802(Ljava/util/List;Ljava/util/function/Function;)Lnet/minecraft/class_7455;- named - of- Lnet/minecraft/client/search/IdentifierSearcher;of(Ljava/util/List;Ljava/util/function/Function;)Lnet/minecraft/client/search/IdentifierSearcher;
 
- 
searchNamespaceReturns the results of searching from the namespaces of the ids.- Returns:
- the results of searching from the namespaces of the ids
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfyj;a(Ljava/lang/String;)Ljava/util/List;- intermediary - method_43801- Lnet/minecraft/class_7455;method_43801(Ljava/lang/String;)Ljava/util/List;- named - searchNamespace- Lnet/minecraft/client/search/IdentifierSearcher;searchNamespace(Ljava/lang/String;)Ljava/util/List;
 
- 
searchPathReturns the results of searching from the paths of the ids.- Returns:
- the results of searching from the paths of the ids
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfyj;b(Ljava/lang/String;)Ljava/util/List;- intermediary - method_43803- Lnet/minecraft/class_7455;method_43803(Ljava/lang/String;)Ljava/util/List;- named - searchPath- Lnet/minecraft/client/search/IdentifierSearcher;searchPath(Ljava/lang/String;)Ljava/util/List;
 
 
-