Package net.minecraft.client.searchtree
Class SearchRegistry
java.lang.Object
net.minecraft.client.searchtree.SearchRegistry
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
(package private) static class
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SearchRegistry.Key
<ItemStack> static final SearchRegistry.Key
<ItemStack> static final SearchRegistry.Key
<RecipeCollection> private final Map
<SearchRegistry.Key<?>, SearchRegistry.TreeEntry<?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T> SearchRegistry.TreeEntry
<T> getSupplier
(SearchRegistry.Key<T> p_235239_) <T> SearchTree
<T> getTree
(SearchRegistry.Key<T> p_235231_) void
onResourceManagerReload
(ResourceManager p_119948_) <T> void
populate
(SearchRegistry.Key<T> p_235236_, List<T> p_235237_) <T> void
register
(SearchRegistry.Key<T> p_235233_, SearchRegistry.TreeBuilderSupplier<T> p_235234_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
Methods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
reload
-
Field Details
-
CREATIVE_NAMES
-
CREATIVE_TAGS
-
RECIPE_COLLECTIONS
-
searchTrees
-
-
Constructor Details
-
SearchRegistry
public SearchRegistry()
-
-
Method Details
-
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-
register
public <T> void register(SearchRegistry.Key<T> p_235233_, SearchRegistry.TreeBuilderSupplier<T> p_235234_) -
getSupplier
-
populate
-
getTree
-