Class Language

java.lang.Object
net.minecraft.client.resources.Language
All Implemented Interfaces:
com.mojang.bridge.game.Language, Comparable<Language>

public class Language extends Object implements com.mojang.bridge.game.Language, Comparable<Language>
  • Field Details

    • code

      private final String code
    • region

      private final String region
    • name

      private final String name
    • bidirectional

      private final boolean bidirectional
    • javaLocale

      private final Locale javaLocale
  • Constructor Details

    • Language

      public Language(String p_i1303_1_, String p_i1303_2_, String p_i1303_3_, boolean p_i1303_4_)
  • Method Details

    • getCode

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

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

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

      public boolean isBidirectional()
    • toString

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

      public boolean equals(Object p_equals_1_)
      Overrides:
      equals in class Object
    • hashCode

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

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

      public Locale getJavaLocale()