Package net.minecraft.client.resources
Class Language
- java.lang.Object
-
- net.minecraft.client.resources.Language
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
bidirectional
private java.lang.String
code
private java.util.Locale
javaLocale
private java.lang.String
name
private java.lang.String
region
-
Constructor Summary
Constructors Constructor Description Language(java.lang.String p_i1303_1_, java.lang.String p_i1303_2_, java.lang.String p_i1303_3_, boolean p_i1303_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Language p_compareTo_1_)
boolean
equals(java.lang.Object p_equals_1_)
java.lang.String
getCode()
java.util.Locale
getJavaLocale()
java.lang.String
getName()
java.lang.String
getRegion()
int
hashCode()
boolean
isBidirectional()
java.lang.String
toString()
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interfacecom.mojang.bridge.game.Language
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacecom.mojang.bridge.game.Language
-
getRegion
public java.lang.String getRegion()
- Specified by:
getRegion
in interfacecom.mojang.bridge.game.Language
-
isBidirectional
public boolean isBidirectional()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(Language p_compareTo_1_)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Language>
-
getJavaLocale
public java.util.Locale getJavaLocale()
-
-