Uses of Annotation Interface
net.kyori.adventure.text.minimessage.tag.TagPattern
Packages that use TagPattern
Package
Description
Internal API, not for public use.
Tools for resolving tags based on tag information.
Tools for working with Adventure's translation API.
-
Uses of TagPattern in net.kyori.adventure.text.minimessage.internal
Method parameters in net.kyori.adventure.text.minimessage.internal with annotations of type TagPatternModifier and TypeMethodDescriptionstatic voidTagInternals.assertValidTagName(String tagName) Checks if a tag name matches the pattern for allowed tag names.static voidTagInternals.sanitizeAndAssertValidTagName(String tagName) Checks if a tag name matches the pattern for allowed tag names, first sanitizing it by converting the tag name to lowercase.static booleanTagInternals.sanitizeAndCheckValidTagName(String tagName) Checks if a tag name matches the pattern for allowed tag names, first sanitizing it by converting the tag name to lowercase. -
Uses of TagPattern in net.kyori.adventure.text.minimessage.tag.resolver
Method parameters in net.kyori.adventure.text.minimessage.tag.resolver with annotations of type TagPatternModifier and TypeMethodDescriptionstatic TagResolverFormatter.booleanChoice(String key, boolean value) Creates a choice tag.static TagResolverCreates a replacement that inserts a choice formatted text.static TagResolver.SinglePlaceholder.component(String key, ComponentLike value) Creates a replacement that inserts a component.static TagResolverFormatter.date(String key, TemporalAccessor time) Creates a replacement that inserts a date or a time as a component.static TagResolverFormatter.joining(String key, Iterable<? extends ComponentLike> components) Creates a replacement that inserts a list of components.static TagResolverFormatter.joining(String key, ComponentLike... components) Creates a replacement that inserts a list of components.static TagResolverCreates a replacement that inserts a number as a component.static TagResolver.SingleCreates a placeholder that inserts a MiniMessage string.@Nullable TagTagResolver.resolve(String name, ArgumentQueue arguments, Context ctx) Gets a tag from this resolver based on the current state.default @Nullable Tag@Nullable TagResolve a tag based only on the provided name.default @Nullable TagTagResolver.WithoutArguments.resolve(String name, ArgumentQueue arguments, Context ctx) static TagResolverTagResolver.resolver(String name, BiFunction<ArgumentQueue, Context, Tag> handler) Create a tag resolver that only responds to a single tag name, and whose value does not depend on that name.static TagResolver.SingleA tag resolver that will resolve a single tag by a case-insensitive key.static TagResolver.SinglePlaceholder.styling(String key, StyleBuilderApplicable... style) Creates a style tag which will modify the style of the component.default TagResolver.BuilderTagResolver.Builder.tag(String name, BiFunction<ArgumentQueue, Context, Tag> handler) Add a single dynamically created tag to this resolver.Add a single tag to this resolver.static TagResolver.SingleCreates a placeholder that inserts a literal string, without attempting to parse any contained tags. -
Uses of TagPattern in net.kyori.adventure.text.minimessage.translation
Method parameters in net.kyori.adventure.text.minimessage.translation with annotations of type TagPatternModifier and TypeMethodDescriptionstatic ComponentLikeArgument.argument(String name, TranslationArgument argument) Creates a named translation argument.static ComponentLikeArgument.argument(String name, TranslationArgumentLike argument) Creates a named translation argument.static ComponentLikeCreates a named boolean argument.static ComponentLikeArgument.component(String name, ComponentLike value) Creates a named component argument.static ComponentLikeCreates a named numeric argument.static ComponentLikeCreates a named string argument.static ComponentLikeCreates a named tag argument.