LanguageUtil

open class LanguageUtil

Properties

DEFAULT_LANG_STREAM
Link copied to clipboard
val DEFAULT_LANG_STREAM: InputStream
LANG_LIST
Link copied to clipboard
val LANG_LIST: List<String>

Functions

loadLanguageFile
Link copied to clipboard
open fun loadLanguageFile(inputStream: InputStream): JsonObject
Loads language file.
setupLanguage
Link copied to clipboard
open fun setupLanguage()
Initializes the mod's language json object.