BuildCraft|Core

BuildCraft|Core

7M Downloads

Buildcraft API pointing to inner classes

EngineerCoding opened this issue ยท 4 comments

commented

The BuildCraft API is pointing to inner classes, which require me to include the whole mod on my buildpath. This is rather annoying since it's an OpenSource mod, and when it is not pointing to inner classes I dont have this issue.

If there is a known fix Im not aware of, please tell me and Im sorry.
Thanks

commented

Could you point specifically to the incriminated classes?

commented

Okay this is very odd.
I downloaded the source via the releases, and downloaded the latest over there. Once I extract said zip, I get a lot more classes than there are in this repository.
Edit: I just figured out that the releases is about the whole repo, not branch dependant, whoops!

I guess it is a fail on my end. Im sorry for my derpyness, Ill just the get the API directly from this repository since this is supposed to be stable :p

However, I found out this is happening in the nextGen branch (I definitely derped earlier), since that is the latest release. Here is a list of the API's which import from inner classes:

  • buildcraft.api.blueprints
    • MappingRegistry
    • Schematic
    • SchematicBlock
    • SchematicEntity
    • SchematicMask
    • SchematicTile
  • buildcraft.api.core
    • Position
  • buildcraft.api.filler
    • IFillerPattern

I kinda hope Im right about those, otherwise it is really embarrassing for me.. Anyway, I hope I kinda helped and now I can develop my mod :)

And off-topic: this really is an awesome mod!

commented

ok, thanks for the information. Will do a bit of cleanup before the next 6.0 release!

commented

Wow, that change was less trivial than it seems, but at least the API should be cleaned from external references now. Let me know if you find anything else. Thanks for the help!