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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchManager.Key<T>Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.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 <T> SearchableContainer<T>get(SearchManager.Key<T> key)<T> voidput(SearchManager.Key<T> key, SearchableContainer<T> value)voidreload(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, waitMethods inherited from interface net.minecraft.resource.ResourceReloader
getNameMethods inherited from interface net.minecraft.resource.SynchronousResourceReloader
reload
-
Field Details
-
ITEM_TOOLTIP
-
ITEM_TAG
-
RECIPE_OUTPUT
-
instances
-
-
Constructor Details
-
SearchManager
public SearchManager()
-
-
Method Details
-
reload
Performs the reload in the apply executor, or the game engine.- Specified by:
reloadin interfaceSynchronousResourceReloader- Parameters:
manager- the resource manager
-
put
-
get
-