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 eur
intermediary net/minecraft/class_1121
named net/minecraft/client/search/IdentifierSearchableContainer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdentifierSearchableContainer.Iterator<T>
-
Field Summary
Fields Modifier and Type Field Description protected SuffixArray<T>
byNamespace
protected SuffixArray<T>
byPath
private List<T>
entries
private Object2IntMap<T>
entryIds
private Function<T,Stream<Identifier>>
identifierFinder
-
Constructor Summary
Constructors Constructor Description IdentifierSearchableContainer(Function<T,Stream<Identifier>> function)
-
Method Summary
-
Field Details
-
byNamespace
- Mappings:
Namespace Name Mixin selector official a
Leur;a:Leuv;
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
Leur;b:Leuv;
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
Leur;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
Leur;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
Leur;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
-
-
Method Details
-
reload
public void reload()- Specified by:
reload
in interfaceSearchableContainer<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
-
add
- Specified by:
add
in interfaceSearchableContainer<T>
- Mappings:
Namespace Name Mixin selector official a
Leuq;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
Leuq;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
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
-
compare
- Mappings:
Namespace Name Mixin selector official a
Leur;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
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;
-