Package net.neoforged.neoforge.client
Class CreativeModeTabSearchRegistry
java.lang.Object
net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final CompletableFuture
<SearchTree<ItemStack>> private static final Map
<CreativeModeTab, SessionSearchTrees.Key> private static final Map
<SessionSearchTrees.Key, CompletableFuture<SearchTree<ItemStack>>> private static final Map
<CreativeModeTab, SessionSearchTrees.Key> private static final Map
<SessionSearchTrees.Key, CompletableFuture<SearchTree<ItemStack>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SessionSearchTrees.Key
static Map
<CreativeModeTab, SessionSearchTrees.Key> static CompletableFuture
<SearchTree<ItemStack>> static SessionSearchTrees.Key
static Map
<CreativeModeTab, SessionSearchTrees.Key> static CompletableFuture
<SearchTree<ItemStack>> static void
putNameSearchTree
(SessionSearchTrees.Key key, CompletableFuture<SearchTree<ItemStack>> future) static void
putTagSearchTree
(SessionSearchTrees.Key key, CompletableFuture<SearchTree<ItemStack>> future)
-
Field Details
-
NAME_SEARCH_KEYS
-
TAG_SEARCH_KEYS
-
DEFAULT_SEARCH
-
NAME_SEARCH_TREES
private static final Map<SessionSearchTrees.Key,CompletableFuture<SearchTree<ItemStack>>> NAME_SEARCH_TREES -
TAG_SEARCH_TREES
private static final Map<SessionSearchTrees.Key,CompletableFuture<SearchTree<ItemStack>>> TAG_SEARCH_TREES
-
-
Constructor Details
-
CreativeModeTabSearchRegistry
public CreativeModeTabSearchRegistry()
-
-
Method Details
-
getNameSearchKeys
-
getTagSearchKeys
-
getNameSearchKey
-
getTagSearchKey
-
getNameSearchTree
public static CompletableFuture<SearchTree<ItemStack>> getNameSearchTree(SessionSearchTrees.Key key) -
putNameSearchTree
public static void putNameSearchTree(SessionSearchTrees.Key key, CompletableFuture<SearchTree<ItemStack>> future) -
getTagSearchTree
-
putTagSearchTree
public static void putTagSearchTree(SessionSearchTrees.Key key, CompletableFuture<SearchTree<ItemStack>> future)
-