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 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_344879_, Item.TooltipContext p_345662_, TooltipFlag p_345262_) void
recipes()
private void
register
(SessionSearchTrees.Key p_345458_, Runnable p_346175_) void
updateCreativeTags
(List<ItemStack> p_346121_) void
updateCreativeTags
(List<ItemStack> p_346121_, SessionSearchTrees.Key key) void
updateCreativeTooltips
(HolderLookup.Provider p_345391_, List<ItemStack> p_346357_) void
updateCreativeTooltips
(HolderLookup.Provider p_345391_, List<ItemStack> p_346357_, SessionSearchTrees.Key key) void
updateRecipes
(ClientRecipeBook p_346233_, RegistryAccess.Frozen p_345600_)
-
Field Details
-
RECIPE_COLLECTIONS
-
CREATIVE_NAMES
-
CREATIVE_TAGS
-
creativeByNameSearch
-
creativeByTagSearch
-
recipeSearch
-
reloaders
-
-
Constructor Details
-
SessionSearchTrees
public SessionSearchTrees()
-
-
Method Details
-
register
-
rebuildAfterLanguageChange
public void rebuildAfterLanguageChange() -
getTooltipLines
private static Stream<String> getTooltipLines(Stream<ItemStack> p_344879_, Item.TooltipContext p_345662_, TooltipFlag p_345262_) -
updateRecipes
-
recipes
-
updateCreativeTags
-
updateCreativeTags
-
creativeTagSearch
-
creativeTagSearch
-
updateCreativeTooltips
-
updateCreativeTooltips
public void updateCreativeTooltips(HolderLookup.Provider p_345391_, List<ItemStack> p_346357_, SessionSearchTrees.Key key) -
creativeNameSearch
-
creativeNameSearch
-