Class Language

  • All Implemented Interfaces:
    com.mojang.bridge.game.Language, java.lang.Comparable<Language>

    public class Language
    extends java.lang.Object
    implements com.mojang.bridge.game.Language, java.lang.Comparable<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_)  
    • Field Detail

      • code

        private final java.lang.String code
      • region

        private final java.lang.String region
      • name

        private final java.lang.String name
      • bidirectional

        private final boolean bidirectional
      • javaLocale

        private final java.util.Locale javaLocale
    • Constructor Detail

      • Language

        public Language​(java.lang.String p_i1303_1_,
                        java.lang.String p_i1303_2_,
                        java.lang.String p_i1303_3_,
                        boolean p_i1303_4_)
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Specified by:
        getCode in interface com.mojang.bridge.game.Language
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.mojang.bridge.game.Language
      • getRegion

        public java.lang.String getRegion()
        Specified by:
        getRegion in interface com.mojang.bridge.game.Language
      • isBidirectional

        public boolean isBidirectional()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(Language p_compareTo_1_)
        Specified by:
        compareTo in interface java.lang.Comparable<Language>
      • getJavaLocale

        public java.util.Locale getJavaLocale()