Package net.minecraft.client.util
Class ClientRecipeBook
- java.lang.Object
-
- net.minecraft.item.crafting.RecipeBook
-
- net.minecraft.client.util.ClientRecipeBook
-
public class ClientRecipeBook extends RecipeBook
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<RecipeList>
allCollections
private java.util.Map<RecipeBookCategories,java.util.List<RecipeList>>
collectionsByTab
private static org.apache.logging.log4j.Logger
LOGGER
-
Fields inherited from class net.minecraft.item.crafting.RecipeBook
highlight, known
-
-
Constructor Summary
Constructors Constructor Description ClientRecipeBook()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.util.Map<RecipeBookCategories,java.util.List<java.util.List<IRecipe<?>>>>
categorizeAndGroupRecipes(java.lang.Iterable<IRecipe<?>> p_243201_0_)
private static RecipeBookCategories
getCategory(IRecipe<?> p_202887_0_)
java.util.List<RecipeList>
getCollection(RecipeBookCategories p_202891_1_)
java.util.List<RecipeList>
getCollections()
void
setupCollections(java.lang.Iterable<IRecipe<?>> p_243196_1_)
-
Methods inherited from class net.minecraft.item.crafting.RecipeBook
add, add, addHighlight, addHighlight, contains, contains, copyOverData, getBookSettings, isFiltering, isFiltering, isOpen, remove, remove, removeHighlight, setBookSetting, setBookSettings, setFiltering, setOpen, willHighlight
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
collectionsByTab
private java.util.Map<RecipeBookCategories,java.util.List<RecipeList>> collectionsByTab
-
allCollections
private java.util.List<RecipeList> allCollections
-
-
Method Detail
-
setupCollections
public void setupCollections(java.lang.Iterable<IRecipe<?>> p_243196_1_)
-
categorizeAndGroupRecipes
private static java.util.Map<RecipeBookCategories,java.util.List<java.util.List<IRecipe<?>>>> categorizeAndGroupRecipes(java.lang.Iterable<IRecipe<?>> p_243201_0_)
-
getCategory
private static RecipeBookCategories getCategory(IRecipe<?> p_202887_0_)
-
getCollections
public java.util.List<RecipeList> getCollections()
-
getCollection
public java.util.List<RecipeList> getCollection(RecipeBookCategories p_202891_1_)
-
-