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
named net/minecraft/client/search/SearchProvider
intermediary net/minecraft/class_1129
official gtc
  • 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
      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;