Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3337

Shaped/Shapeless recipe ingredients no longer contain the wildcard (Short.MAX_VALUE) for durability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      In previous versions (pre 1.12), recipes that could use any data/durability of an ingredient (ex: wood sword using any planks) had a durability set to Short.MAX_VALUE.  Furnace recipes still have this functionality.

      I'm using Bukkit.getServer().recipeIterator() and checking the durability. For shaped/shapeless recipes, they now appear to be set to 0.

      I can't find any other way to determine in existing recipes if an ingredient can be of any of the same material type, so if this is not a bug, I'm hoping there can be something added to determine whether ingredients can be of any data/durability.

            Unassigned Unassigned
            haveric Ryan Breuer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: