Uses of Record Class
com.winterhavenmc.library.messagebuilder.core.context.AccessorCtx
Packages that use AccessorCtx
Package
Description
Provides classes that expose a uniform interface for accessing structured data
from diverse object types used within MessageBuilderLib.
Provides an adapter and interface for extracting and formatting display names from objects.
Provides the
Nameable interface and its corresponding adapter used to extract and format
name-related fields from objects passed into the message pipeline.Provides an adapter for objects that expose a
com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.url.-
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors with parameters of type AccessorCtxModifierConstructorDescriptionConstructs anAccessorRegistryand registers all built-in accessors in preferred priority order.Constructs a newMacroFieldAccessorwith the provided context container. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.displayname
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.displayname with parameters of type AccessorCtxModifierConstructorDescriptionConstructs a newDisplayNameAdapterwith the given context container. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.name
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.name with parameters of type AccessorCtxModifierConstructorDescriptionNameAdapter(AccessorCtx ctx) Constructs a newDisplayNameAdapterwith the given context container. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.pluralname
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.pluralname with parameters of type AccessorCtxModifierConstructorDescriptionConstructs a newPluralNameAdapterwith the given context container. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.url
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.url with parameters of type AccessorCtx -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.version
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.version with parameters of type AccessorCtx -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.displayname
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.displayname with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapDisplayNameable.extractDisplayName(ValidMacroKey baseKey, AccessorCtx ctx) Extracts aMacroStringMapcontaining the formatted display name under theDISPLAY_NAMEsubkey of the given base string. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.duration
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.duration with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapDurationable.extractDuration(ValidMacroKey baseKey, ChronoUnit lowerBound, AccessorCtx ctx) Extracts aMacroStringMapcontaining a single entry mapping the providedValidMacroKey(with.DURATIONappended) to a localized string representation of this object's duration. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.expiration
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.expiration with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapExpirable.extractExpiration(ValidMacroKey baseKey, ChronoUnit lowerBound, FormatStyle formatStyle, AccessorCtx ctx) Extracts macro string-value pairs for this object's expiration, including a formatted duration and a formatted instant string. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.identity
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.identity with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapIdentifiable.extractUid(ValidMacroKey baseKey, AccessorCtx ctx) Extracts a macro string map containing the UUID field. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.instant
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.instant with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapInstantable.extractInstant(ValidMacroKey baseKey, FormatStyle formatStyle, AccessorCtx ctx) Extracts a formatted timestamp field from thisInstantable, based on the givenFormatStyleand locale context. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.killer
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.killer with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapKillable.extractKiller(ValidMacroKey baseKey, AccessorCtx ctx) Extracts a macro string map with the killer's name, using the given base string and context. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.location
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.location with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapLocatable.extractLocation(ValidMacroKey baseKey, AccessorCtx ctx) Extracts macro string-value pairs representing location data from this object.Locatable.formatLocation(org.bukkit.Location location, AccessorCtx ctx) Produces a formatted string representation of the given location, consisting of the world name followed by localized coordinates.Locatable.getLocationWorldName(org.bukkit.Location location, AccessorCtx ctx) Resolves the name of the world for the givenLocation. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.looter
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.looter with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapLootable.extractLooter(ValidMacroKey baseKey, AccessorCtx ctx) Extracts the looter's name as a macro replacement field. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.name
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.name with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapNameable.extractName(ValidMacroKey baseKey, AccessorCtx ctx) Extracts the name field into aMacroStringMap, using the provided base string to construct a dot-notated macro string (e.g.,OBJECT.NAME). -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.owner
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.owner with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapOwnable.extractOwner(ValidMacroKey baseKey, AccessorCtx ctx) Extracts the macro value for the owner's name and adds it to aMacroStringMap, using the{OBJECT.OWNER}string. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.pluralname
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.pluralname with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapPluralNameable.extractPluralName(ValidMacroKey baseKey, AccessorCtx ctx) Extracts aMacroStringMapcontaining the formatted plural name under thePLURAL_NAMEsubkey of the given base string. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.protection
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.protection with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapProtectable.extractProtection(ValidMacroKey baseKey, ChronoUnit lowerBound, FormatStyle formatStyle, AccessorCtx ctx) Extracts protection-related fields from this object into aMacroStringMap. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.quantity
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.quantity with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapQuantifiable.extractQuantity(ValidMacroKey baseKey, AccessorCtx ctx) Extracts aMacroStringMapcontaining the formatted quantity string. -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.url
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.url with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapUrlAddressable.extractUrl(ValidMacroKey baseKey, AccessorCtx ctx) -
Uses of AccessorCtx in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.version
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.version with parameters of type AccessorCtxModifier and TypeMethodDescriptiondefault MacroStringMapVersionable.extractVersion(ValidMacroKey baseKey, AccessorCtx ctx)