Package net.minecraft.client.search
Class IdentifierSearchableContainer<T>
java.lang.Object
net.minecraft.client.search.IdentifierSearchableContainer<T>
- All Implemented Interfaces:
Searchable<T>
,SearchableContainer<T>
- Direct Known Subclasses:
TextSearchableContainer
@Environment(CLIENT)
public class IdentifierSearchableContainer<T>
extends Object
implements SearchableContainer<T>
- Mappings:
Namespace Name official fco
intermediary net/minecraft/class_1121
named net/minecraft/client/search/IdentifierSearchableContainer
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected SuffixArray<T>
protected SuffixArray<T>
private final Object2IntMap<T>
private final Function<T,
Stream<Identifier>> -
Constructor Summary
ConstructorDescriptionIdentifierSearchableContainer
(Function<T, Stream<Identifier>> identifierFinder) -
Method Summary
-
Field Details
-
byNamespace
- Mappings:
Namespace Name Mixin selector official a
Lfco;a:Lfcs;
intermediary field_5489
Lnet/minecraft/class_1121;field_5489:Lnet/minecraft/class_1128;
named byNamespace
Lnet/minecraft/client/search/IdentifierSearchableContainer;byNamespace:Lnet/minecraft/client/search/SuffixArray;
-
byPath
- Mappings:
Namespace Name Mixin selector official b
Lfco;b:Lfcs;
intermediary field_5485
Lnet/minecraft/class_1121;field_5485:Lnet/minecraft/class_1128;
named byPath
Lnet/minecraft/client/search/IdentifierSearchableContainer;byPath:Lnet/minecraft/client/search/SuffixArray;
-
identifierFinder
- Mappings:
Namespace Name Mixin selector official c
Lfco;c:Ljava/util/function/Function;
intermediary field_5487
Lnet/minecraft/class_1121;field_5487:Ljava/util/function/Function;
named identifierFinder
Lnet/minecraft/client/search/IdentifierSearchableContainer;identifierFinder:Ljava/util/function/Function;
-
entries
- Mappings:
Namespace Name Mixin selector official d
Lfco;d:Ljava/util/List;
intermediary field_5486
Lnet/minecraft/class_1121;field_5486:Ljava/util/List;
named entries
Lnet/minecraft/client/search/IdentifierSearchableContainer;entries:Ljava/util/List;
-
entryIds
- Mappings:
Namespace Name Mixin selector official e
Lfco;e:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_5488
Lnet/minecraft/class_1121;field_5488:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named entryIds
Lnet/minecraft/client/search/IdentifierSearchableContainer;entryIds:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
Constructor Details
-
IdentifierSearchableContainer
- Mappings:
Namespace Name Mixin selector official <init>
Lfco;<init>(Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_1121;<init>(Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/client/search/IdentifierSearchableContainer;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
reload
public void reload()- Specified by:
reload
in interfaceSearchableContainer<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
-
add
- Specified by:
add
in interfaceSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official a
Lfcn;a(Ljava/lang/Object;)V
intermediary method_4798
Lnet/minecraft/class_1123;method_4798(Ljava/lang/Object;)V
named add
Lnet/minecraft/client/search/SearchableContainer;add(Ljava/lang/Object;)V
-
clear
public void clear()- Specified by:
clear
in interfaceSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official a
Lfcn;a()V
intermediary method_4797
Lnet/minecraft/class_1123;method_4797()V
named clear
Lnet/minecraft/client/search/SearchableContainer;clear()V
-
index
- 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
-
compare
- Mappings:
Namespace Name Mixin selector official a
Lfco;a(Ljava/lang/Object;Ljava/lang/Object;)I
intermediary method_4796
Lnet/minecraft/class_1121;method_4796(Ljava/lang/Object;Ljava/lang/Object;)I
named compare
Lnet/minecraft/client/search/IdentifierSearchableContainer;compare(Ljava/lang/Object;Ljava/lang/Object;)I
-
findAll
- Specified by:
findAll
in interfaceSearchable<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;
-