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

Piglin Bartering APIs

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Spigot-API-1.16.1 / Spigot Server 1.16.1
    • Yes

    Description

      It would be useful if the new Piglin Bartering mechanic had some APIs available.

      For example:

      • A PiglinBarterEvent which would expose a payment and result ItemStack, and fire after picking up the payment but before the result is dropped so that the event could modify the result.
      • Methods in the Piglin Interface to get or set a list of bartering recipes, similar to the getRecipes() and setRecipes(ArrayList<MerchantRecipe>) in the Merchant Interface. This could allow for picking up of items set as recipe payments.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmp Jason Penilla
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: