GlowstoneMC / Glowkit-Legacy

A continuation of Bukkit for use with Glowstone
GNU General Public License v3.0
27 stars 12 forks source link

Add Merchant Trade API. Adds BUKKIT-5663 #55

Closed turt2live closed 8 years ago

turt2live commented 9 years ago

This commit adds the API required to manipulate a merchant's (villager) trade options. This also includes the API required to offer a trade to a player and therefore get some kind of response from a player.

Many new events have been added to help compensate for the lack of merchant-related events currently available.


This still has some formatting work to do before this is fully ready to be implemented. Some additional review from myself is also required.

Thank you @gabizou for your contribution on Bukkit/Bukkit#1077. Hopefully not all is lost and your work may continue here at Glowstone.

turt2live commented 8 years ago

Closing this PR - Project has moved on to a new repo.

If this needs implementing in the newer repository I'll try and find time to implement it.