LuaPowerManager

public final class LuaPowerManager

Types

Link copied to clipboard
public final class Registration implements AutoCloseable
Opaque EliteMobs-owned handle for one exact canonical Lua definition.

Functions

Link copied to clipboard
public static Map<String, PowersConfigFields> discoverLuaPowers(Collection<PowersConfigFields> loadedYamlPowers)
Link copied to clipboard
public static LuaPowerConfigFields loadLuaPower(String registryKey, File file, String effect, PowersConfigFields.PowerType powerType)
Link copied to clipboard
public static LuaPowerManager.Registration registerLuaPower(String registryKey, File sourceFile, String source, String effect, PowersConfigFields.PowerType powerType)
Validates source through the canonical EliteMobs script provider and registers the resulting definition under registryKey.
Link copied to clipboard
public static void shutdown()