public class SearchTreeManager extends java.lang.Object implements IResourceManagerReloadListener
Modifier and Type | Class and Description |
---|---|
static class |
SearchTreeManager.Key<T> |
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
static SearchTreeManager.Key<ItemStack> |
ITEMS |
static SearchTreeManager.Key<RecipeList> |
RECIPES |
static SearchTreeManager.Key<ItemStack> |
TAGS |
private java.util.Map<SearchTreeManager.Key<?>,IMutableSearchTree<?>> |
trees |
Constructor and Description |
---|
SearchTreeManager() |
Modifier and Type | Method and Description |
---|---|
<T> void |
add(SearchTreeManager.Key<T> key,
IMutableSearchTree<T> value) |
<T> IMutableSearchTree<T> |
get(SearchTreeManager.Key<T> key) |
IResourceType |
getResourceType() |
void |
onResourceManagerReload(IResourceManager resourceManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reload
func_225594_i_
public static final SearchTreeManager.Key<ItemStack> ITEMS
public static final SearchTreeManager.Key<ItemStack> TAGS
public static final SearchTreeManager.Key<RecipeList> RECIPES
private final java.util.Map<SearchTreeManager.Key<?>,IMutableSearchTree<?>> trees
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public <T> void add(SearchTreeManager.Key<T> key, IMutableSearchTree<T> value)
public <T> IMutableSearchTree<T> get(SearchTreeManager.Key<T> key)
public IResourceType getResourceType()
getResourceType
in interface IResourceManagerReloadListener