Package hiiragi283.core.api.text
Enum HTCommonTranslation
-
- All Implemented Interfaces:
-
hiiragi283.core.api.text.HTHasTranslationKey,hiiragi283.core.api.text.HTTranslation,java.io.Serializable,kotlin.Comparable
public enum HTCommonTranslation extends Enum<HTCommonTranslation> implements HTTranslation
Hiiragi Coreとそれを前提とするmodで使用される翻訳を集めたクラスです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtranslationKeyprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<HTCommonTranslation>entries
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description final Array<HTCommonTranslation>values()Returns an array containing the constants of this enum type, in the order they're declared. final HTCommonTranslationvalueOf(String value)Returns the enum constant of this type with the specified name. StringgetTranslationKey()final StringgetName()final IntegergetOrdinal()final EnumEntries<HTCommonTranslation>getEntries()-
-
Method Detail
-
values
final Array<HTCommonTranslation> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final HTCommonTranslation valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getTranslationKey
String getTranslationKey()
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<HTCommonTranslation> getEntries()
-
-
-
-