Package net.minecraft.client.search
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 fcp
intermediary net/minecraft/class_1126
named net/minecraft/client/search/TextSearchableContainer
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.client.search.IdentifierSearchableContainer
byNamespace, byPath
-
Constructor Summary
ConstructorDescriptionTextSearchableContainer
(Function<T, Stream<String>> textFinder, Function<T, Stream<Identifier>> identifierFinder) -
Method Summary
Methods inherited from class net.minecraft.client.search.IdentifierSearchableContainer
add, clear, compare
-
Field Details
-
byText
- Mappings:
Namespace Name Mixin selector official c
Lfcp;c:Lfcs;
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
- Mappings:
Namespace Name Mixin selector official d
Lfcp;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
-
TextSearchableContainer
public TextSearchableContainer(Function<T, Stream<String>> textFinder, Function<T, Stream<Identifier>> identifierFinder) - Mappings:
Namespace Name Mixin selector official <init>
Lfcp;<init>(Ljava/util/function/Function;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_1126;<init>(Ljava/util/function/Function;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/client/search/TextSearchableContainer;<init>(Ljava/util/function/Function;Ljava/util/function/Function;)V
-
-
Method Details
-
reload
public void reload()- Specified by:
reload
in interfaceSearchableContainer<T>
- Overrides:
reload
in classIdentifierSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official b
Lfcn;b()V
intermediary method_4799
Lnet/minecraft/class_1123;method_4799()V
named reload
Lnet/minecraft/client/search/SearchableContainer;reload()V
-
index
- Overrides:
index
in classIdentifierSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official b
Lfco;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
- Specified by:
findAll
in interfaceSearchable<T>
- Overrides:
findAll
in classIdentifierSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official a
Lfcr;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;
-