Mods
保存所有注册模组的信息。 可以使用 加载模组
全局关键字 访问
导入相关包
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
方法
getMod
Gets a specific mod
Return Type: ModInfo
isModLoaded
Checks if a mod is laoded
Return Type: boolean