LaserIO

LaserIO

21M Downloads

Card Extension

FlorentTomi opened this issue ยท 2 comments

commented

Describe the feature you'd like to have added

It would be nice to have the possibility to extend the card pool from other mods, by having a dedicated extension API.
Example:

  • Mekanism Gas/LaserIO mod extension
  • (Bad example but still an example) Create/LaserIO mod extension

API usage example:

import com.direwolf20.laserio.api.API;
...

API.CardRegistry.add(new ResourceLocation(extensionModId, "customcard"), customCardSupplier);

Additional information

No response

commented

Gas cards are planned to be supported - I just keep losing time:).

commented

It was more about implementing an external API we can tap in ;) (eg. like Jade or JEI)
It would probably be a lot of work, but it would help delegate the mod integration.