public class LangProvider extends Object
Modifier and Type | Method and Description |
---|---|
static void |
buildCache() |
static String |
get(String key) |
static String |
get(String key,
MsgArgs args) |
static net.kyori.adventure.text.TextComponent |
getComponent(String key) |
static net.kyori.adventure.text.TextComponent |
getComponent(String key,
MsgArgs args) |
static void |
init(KPMRegistry registry) |
static void |
setLanguage(String languageName) |
public static void init(KPMRegistry registry) throws IOException
IOException
public static void setLanguage(String languageName) throws IOException
IOException
public static void buildCache()
public static net.kyori.adventure.text.TextComponent getComponent(String key, MsgArgs args)
public static net.kyori.adventure.text.TextComponent getComponent(String key)
Copyright © 2023. All rights reserved.