Bukkit/CraftBukkit — pull request #1111 by thefishlive (2013-03-30 09:58:16+00:00)
Title: [B + C] Adds a villager trading API. Adds BUKKIT-2138, BUKKIT-3935

The Issue:

Currently in bukkit there is no way to get or set merchant trades or get a merchant from its inventory

PR Breakdown:

This PR adds a way to get, set and add merchant trades and adds a way to get the merchant from the MerchantInventory

Testing Results and Materials:

https://github.com/thefishlive/Bukkit-test - source
https://www.dropbox.com/sh/9v7cy8c2acsuywn/mqdvl8kL3S/Bukkit-Test-0.0.1-SNAPSHOT.jar - binary

Relevant PR(s):

B-832 - https://github.com/Bukkit/Bukkit/pull//832 - api

JIRA Ticket:

https://bukkit.atlassian.net/browse/BUKKIT-2138
https://bukkit.atlassian.net/browse/BUKKIT-3935