Uses of Record Class
me.a8kj.config.template.replacement.Replacement
Packages that use Replacement
Package
Description
-
Uses of Replacement in me.a8kj.config.template.memory
Methods in me.a8kj.config.template.memory with parameters of type ReplacementModifier and TypeMethodDescriptiondefault StringDataMemory.getString(K key, String defaultValue, Replacement... replacements) Retrieves a string and applies dynamic replacements to it.DataMemory.getStringList(K key, Replacement... replacements) Retrieves a string list and applies dynamic replacements to each entry.default StringDataMemory.transform(String text, Replacement... replacements) Transforms a given text by applying the provided replacements using the internal processor. -
Uses of Replacement in me.a8kj.config.template.memory.impl
Methods in me.a8kj.config.template.memory.impl with parameters of type ReplacementModifier and TypeMethodDescriptionnet.kyori.adventure.text.ComponentVelocityDataMemory.getComponent(String key, Replacement... replacements) Retrieves a value as a KyoriComponentwith legacy color support.EnumDataMemory.transform(String text, Replacement... replacements) Transforms the input text by processing provided replacements through the configuredReplacementProcessor.GenericMapDataMemory.transform(String text, Replacement... replacements) Applies text transformations using the internalReplacementProcessor.MapDataMemory.transform(String text, Replacement... replacements) Transforms text by applying placeholders using the internalReplacementProcessor.MapPairedDataMemory.transform(String text, Replacement... replacements) Processes placeholders within the given text using theReplacementProcessor.StringMapPairedDataMemory.transform(String text, Replacement... replacements) Processes placeholders in the provided text using the internalReplacementProcessor. -
Uses of Replacement in me.a8kj.config.template.replacement
Methods in me.a8kj.config.template.replacement that return ReplacementModifier and TypeMethodDescriptionstatic ReplacementCreates a replacement from a raw object.static ReplacementReplacement.of(String key, Collection<String> collection) Creates a replacement from a collection of strings.Methods in me.a8kj.config.template.replacement with parameters of type ReplacementModifier and TypeMethodDescriptionReplacementProcessor.process(String text, Replacement... replacements) Processes a single string by applying the provided replacements.ReplacementProcessor.process(List<String> lines, Replacement... replacements) Processes a list of strings (e.g., a configuration's lore or multi-line message). -
Uses of Replacement in me.a8kj.config.template.replacement.impl
Methods in me.a8kj.config.template.replacement.impl with parameters of type ReplacementModifier and TypeMethodDescriptionPlaceholderProcessor.process(String text, Replacement... replacements) Replaces all identified placeholders in the text with their corresponding values.