Package net.minecraft.util.text
Class LanguageMap
java.lang.Object
net.minecraft.util.text.LanguageMap
- Direct Known Subclasses:
ClientLanguageMap
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.gson.Gson
private static LanguageMap
private static final org.apache.logging.log4j.Logger
private static final Pattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LanguageMap
abstract String
getOrDefault
(String p_230503_1_) getVisualOrder
(List<ITextProperties> p_244260_1_) abstract IReorderingProcessor
getVisualOrder
(ITextProperties p_241870_1_) abstract boolean
static void
inject
(LanguageMap p_240594_0_) abstract boolean
private static LanguageMap
static void
loadFromJson
(InputStream p_240593_0_, BiConsumer<String, String> p_240593_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
UNSUPPORTED_FORMAT_PATTERN
-
instance
-
-
Constructor Details
-
LanguageMap
public LanguageMap()
-
-
Method Details
-
loadDefault
-
loadFromJson
-
getInstance
-
inject
-
getLanguageData
-
getOrDefault
-
has
-
isDefaultRightToLeft
public abstract boolean isDefaultRightToLeft() -
getVisualOrder
-
getVisualOrder
-