Enum Class Adapter.BuiltIn
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
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
NAME
DISPLAY_NAME
OWNER
LOOTER
KILLER
DURATION
– localized via Time4J PrettyTimeINSTANT
– localized via Java'sDateTimeFormatter
QUANTITY
UUID
Compound-field Adapters
LOCATION
– providesLOCATION.WORLD
,.X
,.Y
,.Z
EXPIRATION
– providesDURATION
andINSTANT
subfieldsPROTECTION
– providesDURATION
andINSTANT
subfields
These identifiers may be used for documentation, registry lookup, or user-facing plugin introspection tools.
-
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 TypeMethodDescriptionstatic Adapter.BuiltIn
Returns the enum constant of this class with the specified name.static Adapter.BuiltIn[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
-
DISPLAY_NAME
-
OWNER
-
LOOTER
-
KILLER
-
DURATION
-
INSTANT
-
QUANTITY
-
UUID
-
LOCATION
-
EXPIRATION
-
PROTECTION
-
-
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
-