Package net.minecraft.client.multiplayer
Class SessionSearchTrees
java.lang.Object
net.minecraft.client.multiplayer.SessionSearchTrees
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SessionSearchTrees.Key
static final SessionSearchTrees.Key
private CompletableFuture
<SearchTree<ItemStack>> private static final SessionSearchTrees.Key
private CompletableFuture
<SearchTree<RecipeCollection>> private final Map
<SessionSearchTrees.Key, Runnable> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTooltipLines
(Stream<ItemStack> p_344293_, Item.TooltipContext p_343228_, TooltipFlag p_342315_) void
recipes()
private void
register
(SessionSearchTrees.Key p_342736_, Runnable p_343077_) void
updateCreativeTags
(List<ItemStack> p_344581_) void
updateCreativeTooltips
(HolderLookup.Provider p_343364_, List<ItemStack> p_342500_) void
updateRecipes
(ClientRecipeBook p_343609_, RegistryAccess.Frozen p_342630_)
-
Field Details
-
RECIPE_COLLECTIONS
-
CREATIVE_NAMES
-
CREATIVE_TAGS
-
EMPTY
-
creativeSearch
-
recipeSearch
-
reloaders
-
-
Constructor Details
-
SessionSearchTrees
public SessionSearchTrees()
-
-
Method Details
-
register
-
rebuildAfterLanguageChange
public void rebuildAfterLanguageChange() -
getTooltipLines
private static Stream<String> getTooltipLines(Stream<ItemStack> p_344293_, Item.TooltipContext p_343228_, TooltipFlag p_342315_) -
updateRecipes
-
recipes
-
updateCreativeTags
-
creativeTagSearch
-
updateCreativeTooltips
-
creativeNameSearch
-
getSearchTree
-