KubeJS

KubeJS

69M Downloads

Loaded Mods Check

pjlasl opened this issue ยท 3 comments

commented

Is there an event that can be accessed to check if a particular mod is loaded?

I have recipes I would like loaded only if the mod is present.

commented

you can use Platform.isLoaded(modid) at any point in your script to see whether a mod is currently loaded or not

commented

Worked Perfectly! I looked thru the documentation and couldn't find anything.

commented

if (Platform.mods.modidhere) also works