Class RecipeList


  • public class RecipeList
    extends java.lang.Object
    • Field Detail

      • recipes

        private final java.util.List<IRecipe<?>> recipes
      • singleResultItem

        private final boolean singleResultItem
      • craftable

        private final java.util.Set<IRecipe<?>> craftable
      • fitsDimensions

        private final java.util.Set<IRecipe<?>> fitsDimensions
      • known

        private final java.util.Set<IRecipe<?>> known
    • Constructor Detail

      • RecipeList

        public RecipeList​(java.util.List<IRecipe<?>> p_i242062_1_)
    • Method Detail

      • allRecipesHaveSameResult

        private static boolean allRecipesHaveSameResult​(java.util.List<IRecipe<?>> p_243413_0_)
      • hasKnownRecipes

        public boolean hasKnownRecipes()
      • updateKnownRecipes

        public void updateKnownRecipes​(RecipeBook p_194214_1_)
      • isCraftable

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

        public boolean hasCraftable()
      • hasFitting

        public boolean hasFitting()
      • getRecipes

        public java.util.List<IRecipe<?>> getRecipes()
      • getRecipes

        public java.util.List<IRecipe<?>> getRecipes​(boolean p_194208_1_)
      • getDisplayRecipes

        public java.util.List<IRecipe<?>> getDisplayRecipes​(boolean p_194207_1_)
      • hasSingleResultItem

        public boolean hasSingleResultItem()