Package com.winterhavenmc.library.messagebuilder.pipeline.formatters
package com.winterhavenmc.library.messagebuilder.pipeline.formatters
Contains formatters responsible for converting data types into localized, human-readable strings.
This package serves as a container for specialized subpackages that provide formatting
support for numeric values and durations. These formatters are used throughout the
MessageBuilderLib
pipeline to transform objects into displayable strings based on the
active Locale
, ensuring messages are appropriately localized for the end user.
Subpackages
number
– Provides formatting for numeric values such as coordinates or quantities using locale-aware grouping and decimal symbols.duration
– Provides duration formatters that can classify and format time intervals using natural language expressions and localization, with support for concepts such as "unlimited" and "less than".
These formatters are internally used by adapters such as Locatable
, Durationable
,
and Expirable
, allowing macro replacements to reflect user-friendly and linguistically
appropriate representations.
- See Also:
-
Record Classes