Class RecipeList

java.lang.Object
net.minecraft.client.gui.recipebook.RecipeList

public class RecipeList extends Object
  • Field Details

    • recipes

      private final List<IRecipe<?>> recipes
    • singleResultItem

      private final boolean singleResultItem
    • craftable

      private final Set<IRecipe<?>> craftable
    • fitsDimensions

      private final Set<IRecipe<?>> fitsDimensions
    • known

      private final Set<IRecipe<?>> known
  • Constructor Details

    • RecipeList

      public RecipeList(List<IRecipe<?>> p_i242062_1_)
  • Method Details

    • allRecipesHaveSameResult

      private static boolean allRecipesHaveSameResult(List<IRecipe<?>> p_243413_0_)
    • hasKnownRecipes

      public boolean hasKnownRecipes()
    • updateKnownRecipes

      public void updateKnownRecipes(RecipeBook p_194214_1_)
    • canCraft

      public void canCraft(RecipeItemHelper p_194210_1_, int p_194210_2_, int p_194210_3_, RecipeBook p_194210_4_)
    • isCraftable

      public boolean isCraftable(IRecipe<?> p_194213_1_)
    • hasCraftable

      public boolean hasCraftable()
    • hasFitting

      public boolean hasFitting()
    • getRecipes

      public List<IRecipe<?>> getRecipes()
    • getRecipes

      public List<IRecipe<?>> getRecipes(boolean p_194208_1_)
    • getDisplayRecipes

      public List<IRecipe<?>> getDisplayRecipes(boolean p_194207_1_)
    • hasSingleResultItem

      public boolean hasSingleResultItem()