-
Notifications
You must be signed in to change notification settings - Fork 0
ModLoader
Omar Mohamed edited this page Mar 24, 2026
·
3 revisions
Provides information about the current mod and resource pack environment.
Returns whether a mod with the given mod ID is currently loaded.
-
Parameters:
-
modid—String— The mod ID to check (e.g."sodium")
-
-
Returns:
Boolean
check modLoader.isModLoaded("sodium") do
say "Sodium is loaded!"
endReturns whether a resource pack with the given name is currently active (case-insensitive).
-
Parameters:
-
packName—String— The display name of the resource pack
-
-
Returns:
Boolean
check modLoader.isResourcePackLoaded("MyCoolPack") do
importScript("mypack", "effects")
endReturns the raw Minecraft game version string.
-
Returns:
String— e.g."1.21.10"
say modLoader.getRawGameVersion()
~ Output: "1.21.10"GET IN TOUCH - omar@merakistudios.dev
© 2026 Omar Mohamed. All Rights Reserved.