Package net.minecraft.client.search
Interface ReloadableSearchProvider<T>
- All Superinterfaces:
 SearchProvider<T>
- All Known Implementing Classes:
 IdentifierSearchProvider,TextSearchProvider
A functional interface that provides searching and can be reloaded.
- Mappings:
 Namespace Name official fyiintermediary net/minecraft/class_1123named net/minecraft/client/search/ReloadableSearchProvider
- 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ReloadableSearchProvider<T>empty()Returns a search provider that always returns no results.default voidreload()Reloads the search provider.Methods inherited from interface net.minecraft.client.search.SearchProvider
findAll 
- 
Method Details
- 
empty
Returns a search provider that always returns no results.- Returns:
 - a search provider that always returns no results
 - Mappings:
 Namespace Name Mixin selector official bLfyi;b()Lfyi;intermediary method_43798Lnet/minecraft/class_1123;method_43798()Lnet/minecraft/class_1123;named emptyLnet/minecraft/client/search/ReloadableSearchProvider;empty()Lnet/minecraft/client/search/ReloadableSearchProvider;
 - 
reload
default void reload()Reloads the search provider.- API Note:
 - Implementations must supply the context (e.g. the new data) separately, for example by having a getter as a field on an implementing class.
 - Mappings:
 Namespace Name Mixin selector official aLfyi;a()Vintermediary method_4799Lnet/minecraft/class_1123;method_4799()Vnamed reloadLnet/minecraft/client/search/ReloadableSearchProvider;reload()V
 
 -