My airbreathing engines check the environment to ensure that they have air, and if the world happens to be an IGalacticCraftWorldProvider, they check for IAtmosphericGas oxygen. However, this apparently returns false even inside an "oxygen dome", which is unintended functionality on my end; I am trying to prevent things like jet engines from working in a vacuum, not just "on the moon".
I have a few people - one particularly incessantly - asking for some sort of compatibility, but I know of no way to do this without either heavy reflection or a direct class reference, the former of which I would really strongly prefer to avoid and the latter of which is entirely nonviable.
Is there a way through the GC API to detect such a thing (and, if such a mechanic exists in GC, deplete a portion of that oxygen)?
I have a few people - one particularly incessantly - asking for some sort of compatibility, but I know of no way to do this without either heavy reflection or a direct class reference, the former of which I would really strongly prefer to avoid and the latter of which is entirely nonviable.
Is there a way through the GC API to detect such a thing (and, if such a mechanic exists in GC, deplete a portion of that oxygen)?
Last edited: