Uses of Enum Class
net.kyori.adventure.text.PatternReplacementResult
Packages that use PatternReplacementResult
Package
Description
Data for controlling components, their styles, and events.
-
Uses of PatternReplacementResult in net.kyori.adventure.text
Subclasses with type arguments of type PatternReplacementResult in net.kyori.adventure.textModifier and TypeClassDescriptionenumA result forComponent.replaceText(TextReplacementConfig)pattern-based replacements}.Methods in net.kyori.adventure.text that return PatternReplacementResultModifier and TypeMethodDescriptionTextReplacementConfig.Condition.shouldReplace(MatchResult result, int matchCount, int replaced) Determine how a single match should be handled.static PatternReplacementResultReturns the enum constant of this class with the specified name.static PatternReplacementResult[]PatternReplacementResult.values()Returns an array containing the constants of this enum class, in the order they are declared.Method parameters in net.kyori.adventure.text with type arguments of type PatternReplacementResultModifier and TypeMethodDescriptiondefault TextReplacementConfig.BuilderTextReplacementConfig.Builder.condition(IntFunction2<PatternReplacementResult> condition) Set the function to determine how an individual match should be processed.