Class TextSearchProvider<T>

java.lang.Object
net.minecraft.client.search.IdentifierSearchProvider<T>
net.minecraft.client.search.TextSearchProvider<T>
All Implemented Interfaces:
SearchProvider<T>

@Environment(CLIENT) public class TextSearchProvider<T> extends IdentifierSearchProvider<T>
Mappings:
Namespace Name
named net/minecraft/client/search/TextSearchProvider
intermediary net/minecraft/class_1126
official guf
  • Field Details

    • textSearcher

      private final SearchProvider<T> textSearcher
      Mappings:
      Namespace Name Mixin selector
      named textSearcher Lnet/minecraft/client/search/TextSearchProvider;textSearcher:Lnet/minecraft/client/search/SearchProvider;
      intermediary field_39198 Lnet/minecraft/class_1126;field_39198:Lnet/minecraft/class_1129;
      official c Lguf;c:Lguk;
  • Constructor Details

    • TextSearchProvider

      public TextSearchProvider(Function<T,Stream<String>> textsGetter, Function<T,Stream<Identifier>> identifiersGetter, List<T> values)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/search/TextSearchProvider;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_1126;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
      official <init> Lguf;<init>(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/List;)V
  • Method Details

    • search

      protected List<T> search(String text)
      Overrides:
      search in class IdentifierSearchProvider<T>
      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 Lgug;a(Ljava/lang/String;)Ljava/util/List;
    • search

      protected List<T> search(String namespace, String path)
      Overrides:
      search in class IdentifierSearchProvider<T>
      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 Lgug;a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;