New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Futurepack Compat #3876
Comments
We can probably do that, I looked at the API and it has some similarity to our code. @mcenderdragon do I simply need to register Galacticraft planets with IPlanet? For proper compatibility I think we need to match FP's tech levels. @mcenderdragon please can you show me a list of valid strings for |
in 1.12 you need to register via the API, in 1.14+ you can simply use jsons for that:
Right now the only upgrade we have is "drive.FTL" for far awayplanets, a "lifesupport" upgrade is planed for planets with no breathable athmosphere. If a planet has no breathable athmosphere to each chunk a capability is added where each block has its own oxygen level which is by default empty and the player will suffocate, as I galacticcraft has its onw oxygen system I would suggest to register it as true so there is no overlap (as then futurepack would most likely suffocate the player even with galacticraft gear). |
Hmm, dual oxygen systems will likely confuse players. As our oxygen system is very mature and well-understood, you could look at disabling your lifesupport mechanism if you detect GC is installed, and instead use our API? If you're interested in that approach, I can look at exactly what you'd need to do, and expose more of GC in the API if necessary. This is in 1.12 by the way. We have no current project for 1.14. |
Because I have not enough time I stoped developing on 1.12. But I added a |
Here are the main hooks into our oxygen system. A living entity which does not require Galacticraft oxygen - for example, a robot or golem, but maybe also some other kinds of mob? - should implement this interface. We automatically apply this to any entity extending vanilla Another mod's space suit or other equippable armor item which allows the player to breath - so that Galacticraft should not check its own oxygen system or kill the player even if there is 0 GC oxygen - should implement this interface on the armor item. (Note that we ignore vanilla enchantments which allow the wearer to breath underwater - intentionally, we do not let these allow the player to breath in the totally oxygen-free environments of space. If your mod uses enchantments to control oxygen breathing, we are not going to detect that unfortunately.) To get more into our API it would also be possible for you to register all your planets as Galacticraft planets - in which case they would be included on our solar system map, and players would be able to fly to them with Galacticraft rockets (e.g. you could specify Tier 3, so that only players who have nearly finished the Galacticraft tech tree would be able to do this) - and all the other Galacticraft mechanisms would operate: oxygen, gravity (which affects player's movement with real physics), temperature, solar levels for solar generation, atmosphere components including industrial gases etc. |
Intended usage of our API in simple cases for third party mods where you don't need the whole API:
|
I should add this information to our wiki, so if you have any feedback let me know :) |
I was wondering if compatibility with Futurepack is possible. Talking with FP's mod author, I believe I understood him to say that all Galacticraft has to do is register the planets with Futurepack's api. Not sure how easy this is, but is it possible?
Minecraft version: 1.12.2
Any Galacticraft add-ons installed? please list all
More Planets
Galaxy Space
The text was updated successfully, but these errors were encountered: