java.lang.Object
java.lang.Enum<Adapter.BuiltIn>
com.winterhavenmc.library.messagebuilder.pipeline.adapters.Adapter.BuiltIn
All Implemented Interfaces:
Serializable, Comparable<Adapter.BuiltIn>, Constable
Enclosing interface:
Adapter

public static enum Adapter.BuiltIn extends Enum<Adapter.BuiltIn>
Enumeration of all built-in adapter types supported by the message builder pipeline.

This enum also serves as a human-readable guide to available macro categories and their expected behavior.

Single-field Adapters

Compound-field Adapters

  • LOCATION – provides LOCATION.WORLD, .X, .Y, .Z
  • EXPIRATION – provides DURATION and INSTANT subfields
  • PROTECTION – provides DURATION and INSTANT subfields

These identifiers may be used for documentation, registry lookup, or user-facing plugin introspection tools.

  • Enum Constant Details

  • Method Details

    • values

      public static Adapter.BuiltIn[] 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 Adapter.BuiltIn 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