Package net.minecraft.client.resources
Class ClientLanguageMap
- java.lang.Object
-
- net.minecraft.util.text.LanguageMap
-
- net.minecraft.client.resources.ClientLanguageMap
-
public class ClientLanguageMap extends LanguageMap
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
defaultRightToLeft
private static org.apache.logging.log4j.Logger
LOGGER
private java.util.Map<java.lang.String,java.lang.String>
storage
-
Constructor Summary
Constructors Modifier Constructor Description private
ClientLanguageMap(java.util.Map<java.lang.String,java.lang.String> p_i232487_1_, boolean p_i232487_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
appendFrom(java.util.List<IResource> p_239498_0_, java.util.Map<java.lang.String,java.lang.String> p_239498_1_)
java.util.Map<java.lang.String,java.lang.String>
getLanguageData()
java.lang.String
getOrDefault(java.lang.String p_230503_1_)
IReorderingProcessor
getVisualOrder(ITextProperties p_241870_1_)
boolean
has(java.lang.String p_230506_1_)
boolean
isDefaultRightToLeft()
static ClientLanguageMap
loadFrom(IResourceManager p_239497_0_, java.util.List<Language> p_239497_1_)
-
Methods inherited from class net.minecraft.util.text.LanguageMap
getInstance, getVisualOrder, inject, loadFromJson
-
-
-
-
Method Detail
-
loadFrom
public static ClientLanguageMap loadFrom(IResourceManager p_239497_0_, java.util.List<Language> p_239497_1_)
-
appendFrom
private static void appendFrom(java.util.List<IResource> p_239498_0_, java.util.Map<java.lang.String,java.lang.String> p_239498_1_)
-
getOrDefault
public java.lang.String getOrDefault(java.lang.String p_230503_1_)
- Specified by:
getOrDefault
in classLanguageMap
-
has
public boolean has(java.lang.String p_230506_1_)
- Specified by:
has
in classLanguageMap
-
isDefaultRightToLeft
public boolean isDefaultRightToLeft()
- Specified by:
isDefaultRightToLeft
in classLanguageMap
-
getVisualOrder
public IReorderingProcessor getVisualOrder(ITextProperties p_241870_1_)
- Specified by:
getVisualOrder
in classLanguageMap
-
getLanguageData
public java.util.Map<java.lang.String,java.lang.String> getLanguageData()
- Overrides:
getLanguageData
in classLanguageMap
-
-