net.minecraft.client.recipebook

public class ClientRecipeBook

extends RecipeBook

net.minecraft.client.ClientRecipeBook
net.minecraft.class_299
net.minecraft.client.recipebook.ClientRecipeBook

Field summary

Modifier and TypeField
private final Map<NetworkRecipeId, RecipeDisplayEntry>
known
field_54810
recipes
private final Set<NetworkRecipeId>
highlight
field_54811
highlightedRecipes
private Map<RecipeBookGroup, List<RecipeResultCollection>>
collectionsByTab
field_1638
resultsByCategory
private List<RecipeResultCollection>
allCollections
field_25778
orderedResults

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
add(RecipeDisplayEntry display)
method_64849(class_10297 arg0)
add(RecipeDisplayEntry entry)
public void
remove(RecipeDisplayId id)
method_64850(class_10298 arg0)
remove(NetworkRecipeId recipeId)
public void
clear()
method_65018()
clear()
public boolean
willHighlight(RecipeDisplayId recipe)
method_64855(class_10298 arg0)
isHighlighted(NetworkRecipeId recipeId)
public void
removeHighlight(RecipeDisplayId id)
method_64856(class_10298 arg0)
unmarkHighlighted(NetworkRecipeId recipeId)
public void
addHighlight(RecipeDisplayId id)
method_64857(class_10298 arg0)
markHighlighted(NetworkRecipeId recipeId)
public void
rebuildCollections()
method_64853()
refresh()
private static Map<RecipeBookCategory, List<List<RecipeDisplayEntry>>>
categorizeAndGroupRecipes(Iterable<RecipeDisplayEntry> recipes)
method_30283(Iterable<class_10297> arg0)
toGroupedMap(Iterable<RecipeDisplayEntry> recipes)
public List<RecipeResultCollection>
getCollections()
method_1393()
getOrderedResults()
public List<RecipeResultCollection>
getCollection(ExtendedRecipeBookCategory category)
method_1396(class_10287 arg0)
getResultsForCategory(RecipeBookGroup category)
private static List
lambda$categorizeAndGroupRecipes$1(RecipeBookCategory arg0)
method_64848(class_10355 arg0)
method_64848(RecipeBookCategory group)
private static List
lambda$categorizeAndGroupRecipes$0(RecipeBookCategory arg0)
method_64854(class_10355 arg0)
method_64854(RecipeBookCategory group)
private static Stream
lambda$rebuildCollections$1(Map arg0, RecipeBookCategory arg1)
method_64852(Map arg0, class_10355 arg1)
method_64852(Map arg0, RecipeBookCategory group)
private static void
lambda$rebuildCollections$0(Map arg0, com.google.common.collect.ImmutableList$Builder arg1, RecipeBookCategory arg2, List arg3)
method_64851(Map arg0, com.google.common.collect.ImmutableList$Builder arg1, class_10355 arg2, List arg3)
method_64851(Map arg0, com.google.common.collect.ImmutableList$Builder arg1, RecipeBookCategory group, List resultCollections)