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

Piglin Bartering APIs


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

      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.

            Unassigned Unassigned
            jmp Jason Penilla
            5 Vote for this issue
            5 Start watching this issue