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 class
SearchManager.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<?>>
instances
static SearchManager.Key<ItemStack>
ITEM_TAG
static SearchManager.Key<ItemStack>
ITEM_TOOLTIP
static SearchManager.Key<RecipeResultCollection>
RECIPE_OUTPUT
-
Constructor Summary
Constructors Constructor Description SearchManager()
-
Method Summary
Modifier and Type Method Description void
apply(ResourceManager manager)
<T> SearchableContainer<T>
get(SearchManager.Key<T> key)
<T> void
put(SearchManager.Key<T> key, SearchableContainer<T> value)
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.ResourceReloadListener
getName
Methods 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:
apply
in interfaceSynchronousResourceReloadListener
-
put
-
get
-