Uses of Interface
net.kyori.adventure.text.minimessage.tag.Tag
Packages that use Tag
Package
Description
Parser.
Parser nodes.
Serializer for the MiniMessage language.
Specification of the API for customizing tags understood by MiniMessage.
Tools for resolving tags based on tag information.
Tools for working with Adventure's translation API.
-
Uses of Tag in net.kyori.adventure.text.minimessage.internal.parser
Methods in net.kyori.adventure.text.minimessage.internal.parser that return Tag -
Uses of Tag in net.kyori.adventure.text.minimessage.internal.parser.node
Methods in net.kyori.adventure.text.minimessage.internal.parser.node that return TagMethods in net.kyori.adventure.text.minimessage.internal.parser.node with parameters of type Tag -
Uses of Tag in net.kyori.adventure.text.minimessage.internal.serializer
Method parameters in net.kyori.adventure.text.minimessage.internal.serializer with type arguments of type TagModifier 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 Tag in net.kyori.adventure.text.minimessage.tag
Subinterfaces of Tag in net.kyori.adventure.text.minimessage.tagModifier and TypeInterfaceDescriptioninterfaceA tag that inserts aComponentinto the output.interfaceA tag that can transform a whole subtree of nodes.interfaceTags implementing this interface are used to provide directives, or instructions, to the parser directly.interfaceA tag that is applied at the tokenization stage, before the tree is constructed.Fields in net.kyori.adventure.text.minimessage.tag declared as TagModifier and TypeFieldDescriptionstatic final TagParserDirective.RESETInstructs the parser to reset all style, events, insertions, etc.Methods in net.kyori.adventure.text.minimessage.tag that return TagModifier and TypeMethodDescriptionstatic TagCreate a tag that will insert a certain component into the output.static TagTag.inserting(ComponentLike value) Create a tag that will insert a certain component into the output.static TagTag.selfClosingInserting(Component content) Create a tag that will insert a certain component into the output.static TagTag.selfClosingInserting(ComponentLike value) Create a tag that will insert a certain component into the output.static TagTag.styling(Consumer<Style.Builder> styles) Create a tag that will apply a certain style to components.static TagTag.styling(@Nullable StyleBuilderApplicable... actions) Create a tag that will apply certain styles to components. -
Uses of Tag in net.kyori.adventure.text.minimessage.tag.resolver
Methods in net.kyori.adventure.text.minimessage.tag.resolver that return TagModifier and TypeMethodDescription@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) TagResolver.Single.tag()The tag returned by this resolver when the key is matching.Methods in net.kyori.adventure.text.minimessage.tag.resolver with parameters of type TagModifier and TypeMethodDescriptionstatic TagResolver.SingleA tag resolver that will resolve a single tag by a case-insensitive key.Add a single tag to this resolver.Method parameters in net.kyori.adventure.text.minimessage.tag.resolver with type arguments of type TagModifier and TypeMethodDescriptionstatic 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.default TagResolver.BuilderTagResolver.Builder.tag(String name, BiFunction<ArgumentQueue, Context, Tag> handler) Add a single dynamically created tag to this resolver.default TagResolver.BuilderTagResolver.Builder.tag(Set<String> names, BiFunction<ArgumentQueue, Context, Tag> handler) Add a single dynamically created tag to this resolver. -
Uses of Tag in net.kyori.adventure.text.minimessage.translation
Methods in net.kyori.adventure.text.minimessage.translation with parameters of type Tag