Now onto the fun part. Click the spoilers under their descriptions to see a screen caption of what to do.
UPDATE: Now that you understand what you are doing, try using this : http://www.minecraftforum.net/topic/155 ... s-in-game/
This mod is called NBTedit-Ingame. And it will save you loads of time.
Adjusted In-Game values (outdated):
EDIT: Reworded and better explained.
1. Assuming you have your shop built and a fresh Villager spawned, he should offer you something like this:
2. To change the trades a Villager has we must edit the values using a program called NBTExplorer. Using this tool you will Select the map file that you wish to edit, expand it and highlight the regions Tab. Now navigate to the find option. Check the Value box and search for Villager:
3. Now that you have located the Villagers settings you should see something similar to this:
4. From here the process is pretty straight forward, expand the Offers tab and locate the entries under Recipes. To change the amount of something bought or sold by the Villager, Highlight the "Count" setting and hit the edit button. In this case we edit the amount of an item the Villager will be buying:
5. Now to edit What he will buy from a player simply highlight the id setting under buy, hit the edit button and find the appropriate id for the item you wish him to buy from players. Remember the buy Tab is what he buys, the sell is what he buys said item for. :
6. If you happen to spawn a villager who does not sell items you will have to make create the Offers by hand. This is easy. But does take a little longer. First highlight the entries tab of the villager you're editing, next find the add Compound Tag button. Click it and create an "Offers" tag:
7. Once you have created the Offers tag, highlight it by clicking and then locate the add List Tag button to the left of the add Compound Tag. Click it and create a List named "Recipes":
8. You can now create entries for your villager! From here, highlight the Recipes list you have just made and Click the add Compound Tag button. You wont get a dialog box this time. A new "entries" tab should be created under Recipes. You need to create a new entry tab for each buy/sell combination. Again the "buy" is the price for "sell" product. So buy= price, sell= product.
9. Highlight the new entries tab and once again hit the add Compound Tag button. Name the Tag/Tab "buy":
10. Repeat step 9. But name the next Tag sell.
11. Highlight either Tab; buy or sell. To create the "Count" entry that will tell the Villager how much of something to buy or sell, find and Click the add Byte Tag. Name this tag "Count" and edit as needed:
12. Though this step might not be needed, I do suggest it. While the buy or sell tag is still highlighted, click the add Short Tag button that is to the right of the add Byte Tag button. Name this new short tag "Damage" and leave it at 0. :
13. You will now have two entries under the buy or sell Tags. The last step is to create the entry telling the Villager What he buys or sells. To do this Click the add Short Tag button again and this time name it "id" from here edit as needed. :
Well done! With any luck you have now customized a Villagers trading system to fit your specific needs! Now keep in mind that when you want to have them buy or sell an item from the Pixelmon mod ( Find the ID's in your pixelmon.cfg ) You must add 256 to the ID value. So for example; if you want the villager to sell pokeballs you will edit the "id" entry under the sell Tab as follows, since we know the ID for Poke'balls is 8000 simply add 256 to get 8256 as the real in game value. You will also have to set the maxUses to 999999 so you won't run out trades.
Thanks for listening, and I wish you success in your future Poke'Mart creation!
Website: http://www.justiscrafts.com/