Class LanguageDefinition
java.lang.Object
net.minecraft.client.resource.language.LanguageDefinition
- All Implemented Interfaces:
com.mojang.bridge.game.Language
,Comparable<LanguageDefinition>
@Environment(CLIENT) public class LanguageDefinition extends Object implements com.mojang.bridge.game.Language, Comparable<LanguageDefinition>
- Mappings:
Namespace Name official esq
intermediary net/minecraft/class_1077
named net/minecraft/client/resource/language/LanguageDefinition
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LanguageDefinition(String code, String name, String region, boolean rightToLeft)
-
Method Summary
-
Field Details
-
code
- Mappings:
Namespace Name Mixin selector official a
Lesq;a:Ljava/lang/String;
intermediary field_5326
Lnet/minecraft/class_1077;field_5326:Ljava/lang/String;
named code
Lnet/minecraft/client/resource/language/LanguageDefinition;code:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official b
Lesq;b:Ljava/lang/String;
intermediary field_5329
Lnet/minecraft/class_1077;field_5329:Ljava/lang/String;
named name
Lnet/minecraft/client/resource/language/LanguageDefinition;name:Ljava/lang/String;
-
region
- Mappings:
Namespace Name Mixin selector official c
Lesq;c:Ljava/lang/String;
intermediary field_5327
Lnet/minecraft/class_1077;field_5327:Ljava/lang/String;
named region
Lnet/minecraft/client/resource/language/LanguageDefinition;region:Ljava/lang/String;
-
rightToLeft
private final boolean rightToLeft- Mappings:
Namespace Name Mixin selector official d
Lesq;d:Z
intermediary field_5328
Lnet/minecraft/class_1077;field_5328:Z
named rightToLeft
Lnet/minecraft/client/resource/language/LanguageDefinition;rightToLeft:Z
-
-
Constructor Details
-
LanguageDefinition
- Mappings:
Namespace Name Mixin selector official <init>
Lesq;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_1077;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
named <init>
Lnet/minecraft/client/resource/language/LanguageDefinition;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
-
-
Method Details
-
getCode
- Specified by:
getCode
in interfacecom.mojang.bridge.game.Language
- Mappings:
Namespace Name Mixin selector official getCode
Lesq;getCode()Ljava/lang/String;
intermediary getCode
Lnet/minecraft/class_1077;getCode()Ljava/lang/String;
named getCode
Lnet/minecraft/client/resource/language/LanguageDefinition;getCode()Ljava/lang/String;
-
getName
- Specified by:
getName
in interfacecom.mojang.bridge.game.Language
- Mappings:
Namespace Name Mixin selector official getName
Lesq;getName()Ljava/lang/String;
intermediary getName
Lnet/minecraft/class_1077;getName()Ljava/lang/String;
named getName
Lnet/minecraft/client/resource/language/LanguageDefinition;getName()Ljava/lang/String;
-
getRegion
- Specified by:
getRegion
in interfacecom.mojang.bridge.game.Language
- Mappings:
Namespace Name Mixin selector official getRegion
Lesq;getRegion()Ljava/lang/String;
intermediary getRegion
Lnet/minecraft/class_1077;getRegion()Ljava/lang/String;
named getRegion
Lnet/minecraft/client/resource/language/LanguageDefinition;getRegion()Ljava/lang/String;
-
isRightToLeft
public boolean isRightToLeft()- Mappings:
Namespace Name Mixin selector official a
Lesq;a()Z
intermediary method_4672
Lnet/minecraft/class_1077;method_4672()Z
named isRightToLeft
Lnet/minecraft/client/resource/language/LanguageDefinition;isRightToLeft()Z
-
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lesq;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_1077;toString()Ljava/lang/String;
named toString
Lnet/minecraft/client/resource/language/LanguageDefinition;toString()Ljava/lang/String;
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LanguageDefinition>
- Mappings:
Namespace Name Mixin selector official a
Lesq;a(Lesq;)I
intermediary method_4673
Lnet/minecraft/class_1077;method_4673(Lnet/minecraft/class_1077;)I
named compareTo
Lnet/minecraft/client/resource/language/LanguageDefinition;compareTo(Lnet/minecraft/client/resource/language/LanguageDefinition;)I
-