@Environment(value=CLIENT) public class LanguageDefinition extends Object implements com.mojang.bridge.game.Language, Comparable<LanguageDefinition>
Modifier and Type | Field and Description |
---|---|
private String |
code |
private String |
name |
private String |
region |
private boolean |
rightToLeft |
Constructor and Description |
---|
LanguageDefinition(String code,
String name,
String region,
boolean rightToLeft) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LanguageDefinition languageDefinition) |
boolean |
equals(Object o) |
String |
getCode() |
String |
getName() |
String |
getRegion() |
int |
hashCode() |
boolean |
isRightToLeft() |
String |
toString() |
private final String code
private final String name
private final String region
private final boolean rightToLeft
public String getCode()
getCode
in interface com.mojang.bridge.game.Language
public String getName()
getName
in interface com.mojang.bridge.game.Language
public String getRegion()
getRegion
in interface com.mojang.bridge.game.Language
public boolean isRightToLeft()
public int compareTo(LanguageDefinition languageDefinition)
compareTo
in interface Comparable<LanguageDefinition>