Package net.minecraft.client.searchtree
Class SearchRegistry
java.lang.Object
net.minecraft.client.searchtree.SearchRegistry
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionstatic SearchRegistry.Key<ItemStack>
static SearchRegistry.Key<ItemStack>
static SearchRegistry.Key<RecipeCollection>
private Map<SearchRegistry.Key<?>,MutableSearchTree<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> MutableSearchTree<T>
getTree(SearchRegistry.Key<T> p_119950_)
void
onResourceManagerReload(ResourceManager p_119948_)
<T> void
register(SearchRegistry.Key<T> p_119952_, MutableSearchTree<T> p_119953_)
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
getResourceType, reload
-
Field Details
-
CREATIVE_NAMES
-
CREATIVE_TAGS
-
RECIPE_COLLECTIONS
-
searchTrees
-
-
Constructor Details
-
SearchRegistry
public SearchRegistry()
-
-
Method Details
-
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-
register
-
getTree
-