Enum Class MVNPi18n

java.lang.Object
java.lang.Enum<MVNPi18n>
org.mvplugins.multiverse.netherportals.locale.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.
  • Enum Constant Details

    • LIST_DESCRIPTION

      public static final MVNPi18n LIST_DESCRIPTION
    • LIST_TYPE_DESCRIPTION

      public static final MVNPi18n LIST_TYPE_DESCRIPTION
    • LIST_HEADER_ALL

      public static final MVNPi18n LIST_HEADER_ALL
    • LIST_HEADER

      public static final MVNPi18n LIST_HEADER
    • LIST_NOCONTENT_ALL

      public static final MVNPi18n LIST_NOCONTENT_ALL
    • LIST_NOCONTENT

      public static final MVNPi18n LIST_NOCONTENT
    • PORTAL_DISABLED

      public static final MVNPi18n PORTAL_DISABLED
    • PORTAL_NODESTINATION

      public static final MVNPi18n PORTAL_NODESTINATION
    • PORTAL_AUTOLINKEDWORLD_NOTFOUND

      public static final MVNPi18n PORTAL_AUTOLINKEDWORLD_NOTFOUND
  • Method Details

    • values

      public static MVNPi18n[] 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

      public static MVNPi18n valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getMessageKey

      public org.mvplugins.multiverse.external.acf.locales.MessageKey getMessageKey()
      Specified by:
      getMessageKey in interface org.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.