Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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?

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.

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.

width=320 height=64http://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.

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.