UELoader

@Since(version = "2.2")
interface UELoader

This interface represents UnderscoreEnchants' loader.

At no point should you implement this interface, as it is implemented by UnderscoreEnchants.

Functions

Link copied to clipboard
@Since(version = "2.2")
abstract fun loadEnchantment(file: File): LoadResponse

Attempts to load an enchantment from a given file.

@Since(version = "2.2")
abstract fun loadEnchantment(enchantmentName: String): LoadResponse

Attempts to load an enchantment from a given enchantmentName.

Link copied to clipboard
@Since(version = "2.2")
abstract fun loadLocale(localeFile: File): LoadResponse

Attempts to load a locale from a given localeFile.

@Since(version = "2.2")
abstract fun loadLocale(localeName: String): LoadResponse

Attempts to load a locale from a given localeName.

Link copied to clipboard
@Since(version = "2.2")
abstract fun loadPack(packFile: File): LoadResponse

Attempts to load an enchantment pack from a given packFile.

Link copied to clipboard
@Since(version = "2.2")
abstract fun unloadEnchantment(file: File): UnloadResponse

Attempts to unload an enchantment from a given file.

@Since(version = "2.2")
abstract fun unloadEnchantment(enchantmentName: String): UnloadResponse

Attempts to unload an enchantment from a given enchantmentName.

Link copied to clipboard
@Since(version = "2.2")
abstract fun unloadLocale(localeFile: File): UnloadResponse

Attempts to unload a locale from a given localeFile.

@Since(version = "2.2")
abstract fun unloadLocale(localeName: String): UnloadResponse

Attempts to unload a locale from a given localeName.

Link copied to clipboard
@Since(version = "2.2")
abstract fun unloadPack(packFile: File): UnloadResponse

Attempts to unload an enchantment pack from a given packFile.

@Since(version = "2.2")
abstract fun unloadPack(packName: String): UnloadResponse

Attempts to unload an enchantment pack from a given packName.