Uses of Interface
net.kyori.adventure.text.minimessage.tag.resolver.TagResolver
Packages that use TagResolver
Package
Description
MiniMessage, a friendly text format for representing chat components.
Serializer for the MiniMessage language.
Tools for resolving tags based on tag information.
Built-in tags shipped with MiniMessage.
Tools for working with Adventure's translation API.
-
Uses of TagResolver in net.kyori.adventure.text.minimessage
Methods in net.kyori.adventure.text.minimessage that return TagResolverModifier and TypeMethodDescriptionMiniMessage.tags()Returns the base tag resolver of this MiniMessage instance.Methods in net.kyori.adventure.text.minimessage with parameters of type TagResolverModifier and TypeMethodDescriptionContext.deserialize(String message, TagResolver resolver) Deserializes a MiniMessage string using all the settings of this context.Context.deserialize(String message, TagResolver... resolvers) Deserializes a MiniMessage string using all the settings of this context.MiniMessage.deserialize(String input, Pointered target, TagResolver tagResolver) Deserializes a string into a component, with a tag resolver to parse tags of the form<key>and a target.default ComponentMiniMessage.deserialize(String input, Pointered target, TagResolver... tagResolvers) Deserializes a string into a component, with tag resolvers to parse tags of the form<key>and a target.MiniMessage.deserialize(String input, TagResolver tagResolver) Deserializes a string into a component, with a tag resolver to parse tags of the form<key>.default ComponentMiniMessage.deserialize(String input, TagResolver... tagResolvers) Deserializes a string into a component, with tag resolvers to parse tags of the form<key>.MiniMessage.deserializeToTree(String input, Pointered target, TagResolver tagResolver) Deserializes a string into a tree of parsed elements, with a tag resolver to parse tags of the form<key>and a target.default Node.RootMiniMessage.deserializeToTree(String input, Pointered target, TagResolver... tagResolvers) Deserializes a string into a tree of parsed elements, with a tag resolver to parse tags of the form<key>.MiniMessage.deserializeToTree(String input, TagResolver tagResolver) Deserializes a string into a tree of parsed elements, with a tag resolver to parse tags of the form<key>.default Node.RootMiniMessage.deserializeToTree(String input, TagResolver... tagResolvers) Deserializes a string into a tree of parsed elements, with a tag resolver to parse tags of the form<key>.MiniMessage.escapeTags(String input, TagResolver tagResolver) Escapes all known tags in the input message, so that they are ignored in deserialization.default StringMiniMessage.escapeTags(String input, TagResolver... tagResolvers) Escapes all known tags in the input message, so that they are ignored in deserialization.MiniMessage.stripTags(String input, TagResolver tagResolver) Removes all known tags in the input message, so that they are ignored in deserialization.default StringMiniMessage.stripTags(String input, TagResolver... tagResolvers) Removes all known tags in the input message, so that they are ignored in deserialization.MiniMessage.Builder.tags(TagResolver tags) Set the known tags to the provided tag resolver. -
Uses of TagResolver in net.kyori.adventure.text.minimessage.internal.serializer
Methods in net.kyori.adventure.text.minimessage.internal.serializer that return TagResolverModifier and TypeMethodDescriptionstatic TagResolverSerializableResolver.claimingComponent(String name, BiFunction<ArgumentQueue, Context, Tag> handler, Function<Component, @Nullable Emitable> componentClaim) Create a tag resolver that only responds to a single tag name, and whose value does not depend on that name.static TagResolverSerializableResolver.claimingComponent(Set<String> names, BiFunction<ArgumentQueue, Context, Tag> handler, Function<Component, @Nullable Emitable> componentClaim) Create a tag resolver that only responds to certain tag names, and whose value does not depend on that name.static TagResolverSerializableResolver.claimingStyle(String name, BiFunction<ArgumentQueue, Context, Tag> handler, StyleClaim<?> styleClaim) Create a tag resolver that only responds to a single tag name, and whose value does not depend on that name.static TagResolverSerializableResolver.claimingStyle(Set<String> names, BiFunction<ArgumentQueue, Context, Tag> handler, StyleClaim<?> styleClaim) Create a tag resolver that only responds to certain tag names, and whose value does not depend on that name. -
Uses of TagResolver in net.kyori.adventure.text.minimessage.tag.resolver
Subinterfaces of TagResolver in net.kyori.adventure.text.minimessage.tag.resolverModifier and TypeInterfaceDescriptionstatic interfaceA resolver that only handles a single tag key.static interfaceA tag resolver that only handles tags which do not take arguments.Methods in net.kyori.adventure.text.minimessage.tag.resolver that return TagResolverModifier and TypeMethodDescriptionstatic TagResolverFormatter.booleanChoice(String key, boolean value) Creates a choice tag.TagResolver.Builder.build()Create a placeholder resolver based on the input.static TagResolverTagResolver.caching(TagResolver.WithoutArguments resolver) Constructs a tag resolver capable of caching resolved tags.static TagResolverCreates a replacement that inserts a choice formatted text.static TagResolverFormatter.date(String key, TemporalAccessor time) Creates a replacement that inserts a date or a time as a component.static TagResolverTagResolver.empty()An empty tag resolver that will returnnullfor all resolve attempts.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 TagResolverTagResolver.resolver(Iterable<? extends TagResolver> resolvers) Constructs a tag resolver capable of resolving from multiple sources.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 TagResolverTagResolver.resolver(Set<String> names, BiFunction<ArgumentQueue, Context, Tag> handler) Create a tag resolver that only responds to certain tag names, and whose value does not depend on that name.static TagResolverTagResolver.resolver(TagResolver... resolvers) Constructs a tag resolver capable of resolving from multiple sources.static TagResolverTagResolver.standard()Get the tag resolver that resolves allstandard tags.Methods in net.kyori.adventure.text.minimessage.tag.resolver that return types with arguments of type TagResolverModifier and TypeMethodDescriptionstatic Collector<TagResolver, ?, TagResolver> TagResolver.toTagResolver()A collector that will combine a stream of resolvers into one joined resolver.static Collector<TagResolver, ?, TagResolver> TagResolver.toTagResolver()A collector that will combine a stream of resolvers into one joined resolver.Methods in net.kyori.adventure.text.minimessage.tag.resolver with parameters of type TagResolverModifier and TypeMethodDescriptionTagResolver.Builder.resolver(TagResolver resolver) Add a placeholder resolver to those queried by the result of this builder.static TagResolverTagResolver.resolver(TagResolver... resolvers) Constructs a tag resolver capable of resolving from multiple sources.TagResolver.Builder.resolvers(TagResolver... resolvers) Add placeholder resolvers to those queried by the result of this builder.Method parameters in net.kyori.adventure.text.minimessage.tag.resolver with type arguments of type TagResolverModifier and TypeMethodDescriptionstatic TagResolverTagResolver.resolver(Iterable<? extends TagResolver> resolvers) Constructs a tag resolver capable of resolving from multiple sources.TagResolver.Builder.resolvers(Iterable<? extends TagResolver> resolvers) Add placeholder resolvers to those queried by the result of this builder. -
Uses of TagResolver in net.kyori.adventure.text.minimessage.tag.standard
Methods in net.kyori.adventure.text.minimessage.tag.standard that return TagResolverModifier and TypeMethodDescriptionstatic TagResolverStandardTags.clickEvent()Get a resolver for the "click" tag.static TagResolverStandardTags.color()Get a resolver for the "color" tags.static TagResolverStandardTags.decorations()Get a resolver for all decoration tags.static TagResolverStandardTags.decorations(TextDecoration decoration) Get a resolver for a specific text decoration.static TagResolverStandardTags.defaults()Get a resolver that handles all default standard tags.static TagResolverStandardTags.font()Get a resolver for the "font" tag.static TagResolverStandardTags.forPreset(MiniMessage.Preset preset) Get a resolver that handles all standard tags for a given preset.static TagResolverStandardTags.gradient()Get a resolver for the "gradient" tag.static TagResolverStandardTags.hoverEvent()Get a resolver for the "hover" tag.static TagResolverStandardTags.insertion()Get a resolver for the "insert" tag.static TagResolverStandardTags.keybind()Get a resolver for the "key" tag.static TagResolverStandardTags.nbt()Get a resolver for the "nbt" tag.static TagResolverStandardTags.newline()Get a resolver for the "newline" tag.static TagResolverStandardTags.pride()Get a resolver for the "pride" tag.static TagResolverStandardTags.rainbow()Get a resolver for the "rainbow" tag.static TagResolverStandardTags.reset()Get a resolver for the "reset" tag.static TagResolverStandardTags.score()Get a resolver for the "score" tag.static TagResolverStandardTags.selector()Get a resolver for the "selector" tag.static TagResolverStandardTags.sequentialHead()Get a resolver for the "head" tag.static TagResolverStandardTags.shadowColor()Get a resolver for the "shadow" tags.static TagResolverStandardTags.sprite()Get a resolver for the "sprite" tag.static TagResolverStandardTags.transition()Get a resolver for the "transition" tag.static TagResolverStandardTags.translatable()Get a resolver for the "translate" tag.static TagResolverStandardTags.translatableFallback()Get a resolver for the "translate_or" tag. -
Uses of TagResolver in net.kyori.adventure.text.minimessage.translation
Methods in net.kyori.adventure.text.minimessage.translation with parameters of type TagResolverModifier and TypeMethodDescriptionstatic ComponentLikeArgument.tagResolver(TagResolver tagResolver) Creates an argument used to add arbitrary tag resolvers to the deserialization process.static ComponentLikeArgument.tagResolver(TagResolver... resolvers) Creates an argument used to add arbitrary tag resolvers to the deserialization process.Method parameters in net.kyori.adventure.text.minimessage.translation with type arguments of type TagResolverModifier and TypeMethodDescriptionstatic ComponentLikeArgument.tagResolver(Iterable<TagResolver> resolvers) Creates an argument used to add arbitrary tag resolvers to the deserialization process.