Package net.minecraft.client.search
Class SearchManager
java.lang.Object
net.minecraft.client.search.SearchManager
- All Implemented Interfaces:
ResourceReloader
,SynchronousResourceReloader
@Environment(CLIENT)
public class SearchManager
extends Object
implements SynchronousResourceReloader
- Mappings:
Namespace Name official fnh
intermediary net/minecraft/class_1124
named net/minecraft/client/search/SearchManager
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static class
static interface
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<SearchManager.Key<?>,
SearchManager.Instance<?>> static final SearchManager.Key<ItemStack>
static final SearchManager.Key<ItemStack>
static final SearchManager.Key<RecipeResultCollection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> SearchProvider<T>
get
(SearchManager.Key<T> key) private <T> SearchManager.Instance<T>
getInstance
(SearchManager.Key<T> key) <T> void
put
(SearchManager.Key<T> key, SearchManager.ProviderGetter<T> providerGetter) <T> void
reload
(SearchManager.Key<T> key, List<T> values) void
reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloader
getName
Methods inherited from interface net.minecraft.resource.SynchronousResourceReloader
reload
-
Field Details
-
ITEM_TOOLTIP
- Mappings:
Namespace Name Mixin selector official a
Lfnh;a:Lfnh$a;
intermediary field_5495
Lnet/minecraft/class_1124;field_5495:Lnet/minecraft/class_1124$class_1125;
named ITEM_TOOLTIP
Lnet/minecraft/client/search/SearchManager;ITEM_TOOLTIP:Lnet/minecraft/client/search/SearchManager$Key;
-
ITEM_TAG
- Mappings:
Namespace Name Mixin selector official b
Lfnh;b:Lfnh$a;
intermediary field_5494
Lnet/minecraft/class_1124;field_5494:Lnet/minecraft/class_1124$class_1125;
named ITEM_TAG
Lnet/minecraft/client/search/SearchManager;ITEM_TAG:Lnet/minecraft/client/search/SearchManager$Key;
-
RECIPE_OUTPUT
- Mappings:
Namespace Name Mixin selector official c
Lfnh;c:Lfnh$a;
intermediary field_5496
Lnet/minecraft/class_1124;field_5496:Lnet/minecraft/class_1124$class_1125;
named RECIPE_OUTPUT
Lnet/minecraft/client/search/SearchManager;RECIPE_OUTPUT:Lnet/minecraft/client/search/SearchManager$Key;
-
instances
- Mappings:
Namespace Name Mixin selector official d
Lfnh;d:Ljava/util/Map;
intermediary field_5493
Lnet/minecraft/class_1124;field_5493:Ljava/util/Map;
named instances
Lnet/minecraft/client/search/SearchManager;instances:Ljava/util/Map;
-
-
Constructor Details
-
SearchManager
public SearchManager()
-
-
Method Details
-
reload
Performs the reload in the apply executor, or the game engine.- Specified by:
reload
in interfaceSynchronousResourceReloader
- Parameters:
manager
- the resource manager- Mappings:
Namespace Name Mixin selector official a
Lain;a(Laim;)V
intermediary method_14491
Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
named reload
Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
-
put
- Mappings:
Namespace Name Mixin selector official a
Lfnh;a(Lfnh$a;Lfnh$b;)V
intermediary method_4801
Lnet/minecraft/class_1124;method_4801(Lnet/minecraft/class_1124$class_1125;Lnet/minecraft/class_1124$class_7456;)V
named put
Lnet/minecraft/client/search/SearchManager;put(Lnet/minecraft/client/search/SearchManager$Key;Lnet/minecraft/client/search/SearchManager$ProviderGetter;)V
-
getInstance
- Mappings:
Namespace Name Mixin selector official b
Lfnh;b(Lfnh$a;)Lfnh$c;
intermediary method_43805
Lnet/minecraft/class_1124;method_43805(Lnet/minecraft/class_1124$class_1125;)Lnet/minecraft/class_1124$class_7457;
named getInstance
Lnet/minecraft/client/search/SearchManager;getInstance(Lnet/minecraft/client/search/SearchManager$Key;)Lnet/minecraft/client/search/SearchManager$Instance;
-
reload
- Mappings:
Namespace Name Mixin selector official a
Lfnh;a(Lfnh$a;Ljava/util/List;)V
intermediary method_43804
Lnet/minecraft/class_1124;method_43804(Lnet/minecraft/class_1124$class_1125;Ljava/util/List;)V
named reload
Lnet/minecraft/client/search/SearchManager;reload(Lnet/minecraft/client/search/SearchManager$Key;Ljava/util/List;)V
-
get
- Mappings:
Namespace Name Mixin selector official a
Lfnh;a(Lfnh$a;)Lfni;
intermediary method_4800
Lnet/minecraft/class_1124;method_4800(Lnet/minecraft/class_1124$class_1125;)Lnet/minecraft/class_1129;
named get
Lnet/minecraft/client/search/SearchManager;get(Lnet/minecraft/client/search/SearchManager$Key;)Lnet/minecraft/client/search/SearchProvider;
-