Class ClientLanguage
java.lang.Object
net.minecraft.locale.Language
net.minecraft.client.resources.language.ClientLanguage
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private static final org.slf4j.Logger
-
Constructor Summary
ModifierConstructorDescriptionprivate
ClientLanguage
(Map<String, String> p_118914_, boolean p_118915_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
getOrDefault
(String p_118920_, String p_265273_) getVisualOrder
(FormattedText p_118925_) boolean
boolean
static ClientLanguage
loadFrom
(ResourceManager p_265765_, List<String> p_265743_, boolean p_265470_) Methods inherited from class net.minecraft.locale.Language
getInstance, getOrDefault, getVisualOrder, inject, loadFromJson
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
storage
-
defaultRightToLeft
private final boolean defaultRightToLeft
-
-
Constructor Details
-
ClientLanguage
-
-
Method Details
-
loadFrom
public static ClientLanguage loadFrom(ResourceManager p_265765_, List<String> p_265743_, boolean p_265470_) -
appendFrom
-
getOrDefault
- Specified by:
getOrDefault
in classLanguage
-
has
-
isDefaultRightToLeft
public boolean isDefaultRightToLeft()- Specified by:
isDefaultRightToLeft
in classLanguage
-
getVisualOrder
- Specified by:
getVisualOrder
in classLanguage
-
getLanguageData
- Overrides:
getLanguageData
in classLanguage
-