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

Hello I need some help making a GUI the. Tutural on the wiki does not realty help and how can I use build crafts API with out having to have Build craft always installed with my mod?

Mod creators give their APIs as .java, so just copy the package that their API's source files are in (exact package, mind you) and past it into your project. When you ship out it, your mod won't at least have any errors, but it won't actually do anything without the mod for which the API belongs installed.

  • Author

But it will crash if I try to get a interface for power from build craft if its not nstalled that's one of the problems.

How is that? You shouldn't have to "get" an interface since it's meant to be implemented, and in order to be implemented, you should have had that interface available in your project. Everything should be available to you via the API, and if it's not, you can try using reflection.

  • Author

The problem is if I say implomented Ipowerproducer it would crash even with the API if BC is not installed with classbotdefinded.

How is that possible? Are you using eclipse? Is anything showing up red? Code and crash logs would probably help.

  • Author

I don't have any coding or log because I need help to start on that but the API would crash because it would call on build craft which is not installed.

I mean do you want a gui like a chest or a furnace or what? Configuration type thing? You weren't super specific.

  • Author

Something like a  furnace and another like the droppers GUI I know I need a TE and a GUI but the tutorials I have found just say do this and that but don't tell me what it does.

Take a look at how the furnace does it. Aside from opening the GUI (use player.openGui()), everything should be relatively the same.

  • Author

I am going to be happy when this is done because ichave the TE and am working on the GUI.

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.