Package net.minecraft.client.search
Class SearchManager
java.lang.Object
net.minecraft.client.search.SearchManager
- All Implemented Interfaces:
ResourceReloadListener,SynchronousResourceReloadListener
@Environment(CLIENT) public class SearchManager extends Object implements SynchronousResourceReloadListener
- Mappings:
Namespace Name official eutintermediary net/minecraft/class_1124named net/minecraft/client/search/SearchManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchManager.Key<T>Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer -
Field Summary
Fields Modifier and Type Field Description private Map<SearchManager.Key<?>,SearchableContainer<?>>instancesstatic SearchManager.Key<ItemStack>ITEM_TAGstatic SearchManager.Key<ItemStack>ITEM_TOOLTIPstatic SearchManager.Key<RecipeResultCollection>RECIPE_OUTPUT -
Constructor Summary
Constructors Constructor Description SearchManager() -
Method Summary
Modifier and Type Method Description voidapply(ResourceManager manager)<T> SearchableContainer<T>get(SearchManager.Key<T> key)<T> voidput(SearchManager.Key<T> key, SearchableContainer<T> value)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloadListener
getNameMethods inherited from interface net.minecraft.resource.SynchronousResourceReloadListener
reload
-
Field Details
-
ITEM_TOOLTIP
- Mappings:
Namespace Name Mixin selector official aLeut;a:Leut$a;intermediary field_5495Lnet/minecraft/class_1124;field_5495:Lnet/minecraft/class_1124$class_1125;named ITEM_TOOLTIPLnet/minecraft/client/search/SearchManager;ITEM_TOOLTIP:Lnet/minecraft/client/search/SearchManager$Key;
-
ITEM_TAG
- Mappings:
Namespace Name Mixin selector official bLeut;b:Leut$a;intermediary field_5494Lnet/minecraft/class_1124;field_5494:Lnet/minecraft/class_1124$class_1125;named ITEM_TAGLnet/minecraft/client/search/SearchManager;ITEM_TAG:Lnet/minecraft/client/search/SearchManager$Key;
-
RECIPE_OUTPUT
- Mappings:
Namespace Name Mixin selector official cLeut;c:Leut$a;intermediary field_5496Lnet/minecraft/class_1124;field_5496:Lnet/minecraft/class_1124$class_1125;named RECIPE_OUTPUTLnet/minecraft/client/search/SearchManager;RECIPE_OUTPUT:Lnet/minecraft/client/search/SearchManager$Key;
-
instances
- Mappings:
Namespace Name Mixin selector official dLeut;d:Ljava/util/Map;intermediary field_5493Lnet/minecraft/class_1124;field_5493:Ljava/util/Map;named instancesLnet/minecraft/client/search/SearchManager;instances:Ljava/util/Map;
-
-
Constructor Details
-
SearchManager
public SearchManager()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceSynchronousResourceReloadListener- Mappings:
Namespace Name Mixin selector official aLacy;a(Lacx;)Vintermediary method_14491Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)Vnamed applyLnet/minecraft/resource/SynchronousResourceReloadListener;apply(Lnet/minecraft/resource/ResourceManager;)V
-
put
- Mappings:
Namespace Name Mixin selector official aLeut;a(Leut$a;Leuq;)Vintermediary method_4801Lnet/minecraft/class_1124;method_4801(Lnet/minecraft/class_1124$class_1125;Lnet/minecraft/class_1123;)Vnamed putLnet/minecraft/client/search/SearchManager;put(Lnet/minecraft/client/search/SearchManager$Key;Lnet/minecraft/client/search/SearchableContainer;)V
-
get
- Mappings:
Namespace Name Mixin selector official aLeut;a(Leut$a;)Leuq;intermediary method_4800Lnet/minecraft/class_1124;method_4800(Lnet/minecraft/class_1124$class_1125;)Lnet/minecraft/class_1123;named getLnet/minecraft/client/search/SearchManager;get(Lnet/minecraft/client/search/SearchManager$Key;)Lnet/minecraft/client/search/SearchableContainer;
-