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 fwp
intermediary net/minecraft/class_1123
named net/minecraft/client/search/ReloadableSearchProvider
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ReloadableSearchProvider<T>
empty()
Returns a search provider that always returns no results.default void
reload()
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 b
Lfwp;b()Lfwp;
intermediary method_43798
Lnet/minecraft/class_1123;method_43798()Lnet/minecraft/class_1123;
named empty
Lnet/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 a
Lfwp;a()V
intermediary method_4799
Lnet/minecraft/class_1123;method_4799()V
named reload
Lnet/minecraft/client/search/ReloadableSearchProvider;reload()V
-