Package net.minecraft.locale
Class Language
java.lang.Object
net.minecraft.locale.Language
- Direct Known Subclasses:
ClientLanguage
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Language
abstract String
getOrDefault
(String p_128111_) getVisualOrder
(List<FormattedText> p_128113_) abstract FormattedCharSequence
getVisualOrder
(FormattedText p_128116_) abstract boolean
static void
abstract boolean
private static Language
static void
loadFromJson
(InputStream p_128109_, BiConsumer<String, String> p_128110_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
UNSUPPORTED_FORMAT_PATTERN
-
DEFAULT
- See Also:
-
instance
-
-
Constructor Details
-
Language
public Language()
-
-
Method Details
-
loadDefault
-
loadFromJson
-
getInstance
-
inject
-
getLanguageData
-
getOrDefault
-
has
-
isDefaultRightToLeft
public abstract boolean isDefaultRightToLeft() -
getVisualOrder
-
getVisualOrder
-