Class TextSearchableContainer<T>

java.lang.Object
net.minecraft.client.search.IdentifierSearchableContainer<T>
net.minecraft.client.search.TextSearchableContainer<T>
All Implemented Interfaces:
Searchable<T>, SearchableContainer<T>

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

    • byText

      protected SuffixArray<T> byText
      Mappings:
      Namespace Name Mixin selector
      official c Leus;c:Leuv;
      intermediary field_5498 Lnet/minecraft/class_1126;field_5498:Lnet/minecraft/class_1128;
      named byText Lnet/minecraft/client/search/TextSearchableContainer;byText:Lnet/minecraft/client/search/SuffixArray;
    • textFinder

      private final Function<T,​Stream<String>> textFinder
      Mappings:
      Namespace Name Mixin selector
      official d Leus;d:Ljava/util/function/Function;
      intermediary field_5497 Lnet/minecraft/class_1126;field_5497:Ljava/util/function/Function;
      named textFinder Lnet/minecraft/client/search/TextSearchableContainer;textFinder:Ljava/util/function/Function;
  • Constructor Details

  • Method Details

    • reload

      public void reload()
      Specified by:
      reload in interface SearchableContainer<T>
      Overrides:
      reload in class IdentifierSearchableContainer<T>
      Mappings:
      Namespace Name Mixin selector
      official b Leuq;b()V
      intermediary method_4799 Lnet/minecraft/class_1123;method_4799()V
      named reload Lnet/minecraft/client/search/SearchableContainer;reload()V
    • index

      protected void index​(T t)
      Overrides:
      index in class IdentifierSearchableContainer<T>
      Mappings:
      Namespace Name Mixin selector
      official b Leur;b(Ljava/lang/Object;)V
      intermediary method_4795 Lnet/minecraft/class_1121;method_4795(Ljava/lang/Object;)V
      named index Lnet/minecraft/client/search/IdentifierSearchableContainer;index(Ljava/lang/Object;)V
    • findAll

      public List<T> findAll​(String text)
      Specified by:
      findAll in interface Searchable<T>
      Overrides:
      findAll in class IdentifierSearchableContainer<T>
      Mappings:
      Namespace Name Mixin selector
      official a Leuu;a(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/Searchable;findAll(Ljava/lang/String;)Ljava/util/List;