Class Locales


  • public final class Locales
    extends Object
    The list of locales available in Vanilla Minecraft.
    • Field Detail

      • AF_ZA

        public static final Locale AF_ZA
      • AR_SA

        public static final Locale AR_SA
      • AST_ES

        public static final Locale AST_ES
      • AZ_AZ

        public static final Locale AZ_AZ
      • BG_BG

        public static final Locale BG_BG
      • CA_ES

        public static final Locale CA_ES
      • CS_CZ

        public static final Locale CS_CZ
      • CY_GB

        public static final Locale CY_GB
      • DA_DK

        public static final Locale DA_DK
      • DE_DE

        public static final Locale DE_DE
      • EL_GR

        public static final Locale EL_GR
      • EN_AU

        public static final Locale EN_AU
      • EN_CA

        public static final Locale EN_CA
      • EN_GB

        public static final Locale EN_GB
      • EN_PT

        public static final Locale EN_PT
      • EN_US

        public static final Locale EN_US
      • EO_UY

        public static final Locale EO_UY
      • ES_AR

        public static final Locale ES_AR
      • ES_ES

        public static final Locale ES_ES
      • ES_MX

        public static final Locale ES_MX
      • ES_UY

        public static final Locale ES_UY
      • ES_VE

        public static final Locale ES_VE
      • ET_EE

        public static final Locale ET_EE
      • EU_ES

        public static final Locale EU_ES
      • FA_IR

        public static final Locale FA_IR
      • FI_FI

        public static final Locale FI_FI
      • FIL_PH

        public static final Locale FIL_PH
      • FR_CA

        public static final Locale FR_CA
      • FR_FR

        public static final Locale FR_FR
      • GA_IE

        public static final Locale GA_IE
      • GL_ES

        public static final Locale GL_ES
      • GV_IM

        public static final Locale GV_IM
      • HE_IL

        public static final Locale HE_IL
      • HI_IN

        public static final Locale HI_IN
      • HR_HR

        public static final Locale HR_HR
      • HU_HU

        public static final Locale HU_HU
      • HY_AM

        public static final Locale HY_AM
      • ID_ID

        public static final Locale ID_ID
      • IS_IS

        public static final Locale IS_IS
      • IT_IT

        public static final Locale IT_IT
      • JA_JP

        public static final Locale JA_JP
      • KA_GE

        public static final Locale KA_GE
      • KO_KR

        public static final Locale KO_KR
      • KW_GB

        public static final Locale KW_GB
      • LA_LA

        public static final Locale LA_LA
      • LB_LU

        public static final Locale LB_LU
      • LT_LT

        public static final Locale LT_LT
      • LV_LV

        public static final Locale LV_LV
      • MI_NZ

        public static final Locale MI_NZ
      • MS_MY

        public static final Locale MS_MY
      • MT_MT

        public static final Locale MT_MT
      • NDS_DE

        public static final Locale NDS_DE
      • NL_NL

        public static final Locale NL_NL
      • NN_NO

        public static final Locale NN_NO
      • NO_NO

        public static final Locale NO_NO
      • OC_FR

        public static final Locale OC_FR
      • PL_PL

        public static final Locale PL_PL
      • PT_BR

        public static final Locale PT_BR
      • PT_PT

        public static final Locale PT_PT
      • QYA_AA

        public static final Locale QYA_AA
      • RO_RO

        public static final Locale RO_RO
      • RU_RU

        public static final Locale RU_RU
      • SE_NO

        public static final Locale SE_NO
      • SK_SK

        public static final Locale SK_SK
      • SL_SI

        public static final Locale SL_SI
      • SR_SP

        public static final Locale SR_SP
      • SV_SE

        public static final Locale SV_SE
      • TH_TH

        public static final Locale TH_TH
      • TLH_AA

        public static final Locale TLH_AA
      • TR_TR

        public static final Locale TR_TR
      • UK_UA

        public static final Locale UK_UA
      • VAL_ES

        public static final Locale VAL_ES
      • VI_VN

        public static final Locale VI_VN
      • ZH_CN

        public static final Locale ZH_CN
      • ZH_TW

        public static final Locale ZH_TW
      • DEFAULT

        public static final Locale DEFAULT
        The default locale used when the receiver's locale is unknown.
    • Method Detail

      • of

        public static Locale of​(String locale)
        Gets a locale for the specified locale code, e.g. en_US.
        Parameters:
        locale - The locale to lookup (e.g. en_US.
        Returns:
        The locale