public class SearchTreeManager extends java.lang.Object implements IResourceManagerReloadListener
Modifier and Type | Class and Description |
---|---|
static class |
SearchTreeManager.Key<T> |
Modifier and Type | Field and Description |
---|---|
static SearchTreeManager.Key<ItemStack> |
ITEMS |
static SearchTreeManager.Key<RecipeList> |
RECIPES |
Constructor and Description |
---|
SearchTreeManager() |
Modifier and Type | Method and Description |
---|---|
<T> ISearchTree<T> |
get(SearchTreeManager.Key<T> key) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
<T> void |
register(SearchTreeManager.Key<T> key,
SearchTree<T> searchTreeIn) |
public static final SearchTreeManager.Key<ItemStack> ITEMS
public static final SearchTreeManager.Key<RecipeList> RECIPES
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public <T> void register(SearchTreeManager.Key<T> key, SearchTree<T> searchTreeIn)
public <T> ISearchTree<T> get(SearchTreeManager.Key<T> key)