Posted July 18, 201312 yr 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?
July 18, 201312 yr 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.
July 18, 201312 yr 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.
July 18, 201312 yr 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.
July 18, 201312 yr Author The problem is if I say implomented Ipowerproducer it would crash even with the API if BC is not installed with classbotdefinded.
July 18, 201312 yr How is that possible? Are you using eclipse? Is anything showing up red? Code and crash logs would probably help.
July 18, 201312 yr 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.
July 18, 201312 yr I mean do you want a gui like a chest or a furnace or what? Configuration type thing? You weren't super specific.
July 18, 201312 yr 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.
July 18, 201312 yr Take a look at how the furnace does it. Aside from opening the GUI (use player.openGui()), everything should be relatively the same.
July 18, 201312 yr 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.