Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

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).

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.