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

Please add the ability to add Groups and Tags to recipes as well as named itemstacks as components.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • General plugin development

    • This server is running CraftBukkit version git-Spigot-fe3ab0d-0611294 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
    • none
    • Yes

       

      Could you please add the ability to set the group an item belongs to when creating a recipe as well as use the new Tag feature as ingredients when creating a recipe?

       

      https://minecraft.gamepedia.com/Recipe#JSON_format

      Recipes allow for an item_id OR a tag, the stock tags that come with the server would be great, that way when a recipe should be able to use any species of wood for the same output multiple recipes for the same item are not required, if the tag group was modified by the end user they could specify their own "like" materials.

       

      Secondly the Recipe format also allows for a  group:  identifier which can be used to group multiple recipes together,  for example the iron ingot recipe has two different recipes that produce the same item.    9 iron nuggets = 1 iron ingot, and 1 iron block = 9 iron ingots these two recipes show a stacked iron ingot in the recipe book rather than two individual iron-ingot icons.

       

      Lastly on the subject of recipes would it be possible add a addIngredient() method that passes an item stack rather than just the material?   Then users could specify that the itemstack must match before the correct ingredient has been found rather than just the material type.    This would be useful for using a customized item in a secondary recipe.

       

       

            Unassigned Unassigned
            whoolieshop Shane Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: