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 fla
intermediary net/minecraft/class_1077
named net/minecraft/client/resource/language/LanguageDefinition
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLanguageDefinition
(String code, String region, String name, boolean rightToLeft) -
Method Summary
-
Field Details
-
code
- Mappings:
Namespace Name Mixin selector official a
Lfla;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;
-
region
- Mappings:
Namespace Name Mixin selector official b
Lfla;b:Ljava/lang/String;
intermediary field_5329
Lnet/minecraft/class_1077;field_5329:Ljava/lang/String;
named region
Lnet/minecraft/client/resource/language/LanguageDefinition;region:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official c
Lfla;c:Ljava/lang/String;
intermediary field_5327
Lnet/minecraft/class_1077;field_5327:Ljava/lang/String;
named name
Lnet/minecraft/client/resource/language/LanguageDefinition;name:Ljava/lang/String;
-
rightToLeft
private final boolean rightToLeft- Mappings:
Namespace Name Mixin selector official d
Lfla;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>
Lfla;<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
-
getName
- Specified by:
getName
in interfacecom.mojang.bridge.game.Language
-
getRegion
- Specified by:
getRegion
in interfacecom.mojang.bridge.game.Language
-
isRightToLeft
public boolean isRightToLeft()- Mappings:
Namespace Name Mixin selector official a
Lfla;a()Z
intermediary method_4672
Lnet/minecraft/class_1077;method_4672()Z
named isRightToLeft
Lnet/minecraft/client/resource/language/LanguageDefinition;isRightToLeft()Z
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LanguageDefinition>
- Mappings:
Namespace Name Mixin selector official a
Lfla;a(Lfla;)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
-