Enum Class MVNPi18n
- All Implemented Interfaces:
Serializable,Comparable<MVNPi18n>,Constable,org.mvplugins.multiverse.external.acf.locales.MessageKeyProvider
@AvailableSince("5.1")
@Internal
public enum MVNPi18n
extends Enum<MVNPi18n>
implements org.mvplugins.multiverse.external.acf.locales.MessageKeyProvider
All translation keys for Multiverse-NetherPortals.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescription@NotNull org.mvplugins.multiverse.core.locale.message.Messagebundle(@NotNull String nonLocalizedMessage, @NotNull org.mvplugins.multiverse.core.locale.message.MessageReplacement... replacements) Creates a message with a non-localized fallback and replacements.org.mvplugins.multiverse.external.acf.locales.MessageKeystatic MVNPi18nReturns the enum constant of this class with the specified name.static MVNPi18n[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINK_DESCRIPTION
-
LINK_TYPE_DESCRIPTION
-
LINK_FROMWORLD_DESCRIPTION
-
LINK_TOWORLD_DESCRIPTION
-
LINK_FAILED
-
LINK_DISABLED
-
LINK_SUCCESS
-
UNLINK_DESCRIPTION
-
UNLINK_TYPE_DESCRIPTION
-
UNLINK_FROMWORLD_DESCRIPTION
-
UNLINK_NOTLINKED
-
UNLINK_BIDIRECTIONAL_MISMATCH
-
UNLINK_FAILED
-
UNLINK_ENABLED
-
UNLINK_SUCCESS
-
LIST_DESCRIPTION
-
LIST_TYPE_DESCRIPTION
-
LIST_HEADER_ALL
-
LIST_HEADER
-
LIST_NOCONTENT_ALL
-
LIST_NOCONTENT
-
PORTAL_DISABLED
-
PORTAL_NODESTINATION
-
PORTAL_AUTOLINKEDWORLD_NOTFOUND
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMessageKey
public org.mvplugins.multiverse.external.acf.locales.MessageKey getMessageKey()- Specified by:
getMessageKeyin interfaceorg.mvplugins.multiverse.external.acf.locales.MessageKeyProvider
-
bundle
@NotNull public @NotNull org.mvplugins.multiverse.core.locale.message.Message bundle(@NotNull @NotNull String nonLocalizedMessage, @NotNull @NotNull org.mvplugins.multiverse.core.locale.message.MessageReplacement... replacements) Creates a message with a non-localized fallback and replacements.- Parameters:
nonLocalizedMessage- The non-localized fallback message.replacements- The replacements.- Returns:
- A new localizable message.
-