Smithing recipes require inputs when they don't in vanilla

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • CraftBukkit version 4312-Spigot-a759b62-0fb24bb (MC: 1.21.1)
    • Yes

      The smithing recipe types in vanilla have three input fields: template, base, and addition. In vanilla, each of these fields can be set to an empty list to have no item required in the corresponding slot.

      In Bukkit's SmithingRecipe, each field is marked as @NotNull and using a datapack that provides a recipe with one of these empty lists will cause the datapack to fail to validate.

      A datapack has been attached below. It should allow the place to craft an Iron Block into a Gold Block as seen below, but on Spigot/derivative server software it throws an error.

       

            Assignee:
            md_5
            Reporter:
            Apollo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: