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
-
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
-
ITEM_TAG
-
RECIPE_OUTPUT
-
instances
-
-
Constructor Details
-
SearchManager
public SearchManager()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceSynchronousResourceReloadListener
-
put
-
get
-