Interface SearchProvider<T>

All Known Subinterfaces:
ReloadableSearchProvider<T>
All Known Implementing Classes:
IdentifierSearchProvider, TextSearchProvider

@Environment(CLIENT) public interface SearchProvider<T>
A functional interface that provides searching.
Mappings:
Namespace Name
official gcz
intermediary net/minecraft/class_1129
named net/minecraft/client/search/SearchProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the search result of text.
  • Method Details

    • findAll

      List<T> findAll(String text)
      Returns the search result of text.
      Returns:
      the search result of text
      Mappings:
      Namespace Name Mixin selector
      official search Lgcz;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;