Posted July 31, 201213 yr So I haven't had a chance to peek in on the code yet, but I'm curious. How did Mojang handle this and how editable is it? Is it ridiculously hardcoded or can we change up the currencies or implement new trades without much hassle? And does Forge have any plans for hooks related to it? Metallurgy - http://www.minecraftforum.net/topic/744918-11ssp-smpforge-metallurgy-v13pr2/ Aquaculture - http://www.minecraftforum.net/topic/1285120-125-sspsmpbukkit-aquaculture-112-updated-742012/
July 31, 201213 yr Well, the villagers were probably totally rewritten. And it's pretty simple to do something like trading, just have to know how to make entities have GUI's. If forge doesn't add a hook, I'll be surprised. So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.
July 31, 201213 yr By testing the trading system, the trades are almost always the same. If you have 2 farmers and you trade with them for a while. You will soon notice they share identical trades. Might be really easy to trade with them. http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
August 1, 201213 yr Author Well, the villagers were probably totally rewritten. And it's pretty simple to do something like trading, just have to know how to make entities have GUI's. If forge doesn't add a hook, I'll be surprised. That was my thought on the matter as well. The reason I ask is that my primary mod (Metallurgy) has custom coins and such, and I was wanting to see about implementing new trades in the system and I was curious how Mojang implemented it (IE: how the code was laid out). Metallurgy - http://www.minecraftforum.net/topic/744918-11ssp-smpforge-metallurgy-v13pr2/ Aquaculture - http://www.minecraftforum.net/topic/1285120-125-sspsmpbukkit-aquaculture-112-updated-742012/
August 1, 201213 yr Hmmm. Forge gotta have a hook for trading because some of the items in my mod should be tradable. http://calclavia.com/uploads/banner.png[/img]
August 1, 201213 yr It is possibly really easy to create or add a new currency to the game. http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
August 3, 201213 yr It is possibly really easy to create or add a new currency to the game. Well, forge should have a hook for it (hint, hint), but if there isn't, go ahead and write one and submit a pull request to forge on github. So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.