MCPcopy Create free account
hub / github.com/Hidendra/LWC / loadAll

Method loadAll

src/main/java/com/griefcraft/scripting/ModuleLoader.java:315–326  ·  view source on GitHub ↗

Load all of the modules not marked as loaded

()

Source from the content-addressed store, hash-verified

313 * Load all of the modules not marked as loaded
314 */
315 public void loadAll() {
316 LWC lwc = LWC.getInstance();
317
318 for (List<MetaData> modules : pluginModules.values()) {
319 for (MetaData metaData : modules) {
320 if (!metaData.isLoaded()) {
321 metaData.getModule().load(lwc);
322 metaData.trigger();
323 }
324 }
325 }
326 }
327
328 /**
329 * Get the first module represented by a class

Callers 1

loadMethod · 0.80

Calls 5

getInstanceMethod · 0.95
isLoadedMethod · 0.80
triggerMethod · 0.80
loadMethod · 0.65
getModuleMethod · 0.45

Tested by

no test coverage detected