Recipe.fromArray() Method

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None

      A new method for Recipe objects to get a Recipe from an ArrayList of ItemStacks. The position of the ItemStack in the Array would correlate to the position of the ItemStack in the Recipe's shape.

      For Shaped vs Shapeless Recipes, could either:

      • Use ShapedRecipe.fromArray() and ShaplessRecipe.fromArray()
        or
      • Use Recipe.fromArray() and match ShapedRecipe first. If no ShapedRecipe matches, try to match a ShapelessRecipe.

            Assignee:
            Unassigned
            Reporter:
            BlackBeltPanda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: