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 eyh
intermediary net/minecraft/class_1077
named net/minecraft/client/resource/language/LanguageDefinition
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLanguageDefinition
(String code, String region, String name, boolean rightToLeft) -
Method Summary
-
Field Details
-
code
- Mappings:
Namespace Name Mixin selector official a
Leyh;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
Leyh;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
Leyh;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
Leyh;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>
Leyh;<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
Leyh;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
Leyh;a(Leyh;)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
-