Uses of Interface
net.kyori.adventure.text.minimessage.internal.serializer.TokenEmitter
Packages that use TokenEmitter
Package
Description
Serializer for the MiniMessage language.
-
Uses of TokenEmitter in net.kyori.adventure.text.minimessage.internal.serializer
Methods in net.kyori.adventure.text.minimessage.internal.serializer that return TokenEmitterModifier and TypeMethodDescriptionAdd a single argument to the current tag.TokenEmitter.argument(String arg, QuotingOverride quotingPreference) Add a single argument to the current tag.Add a single argument to the current tag.default TokenEmitterAdd arguments to the current tag.TokenEmitter.pop()Explicitly end a token, only needed if there are multiple tokens within anEmitablefor some reason.TokenEmitter.selfClosingTag(String token) Open a tag with or without arguments that cannot have children.Open a tag with or without arguments.Emit literal text.Methods in net.kyori.adventure.text.minimessage.internal.serializer with parameters of type TokenEmitterModifier and TypeMethodDescriptionvoidEmitable.emit(TokenEmitter emitter) Emit tags based on this emitable's data.Method parameters in net.kyori.adventure.text.minimessage.internal.serializer with type arguments of type TokenEmitterModifier and TypeMethodDescriptionstatic <T> StyleClaim<T> StyleClaim.claim(String claimKey, Function<Style, @Nullable T> lens, BiConsumer<T, TokenEmitter> emitable) Create a new style claim that will emit content for any non-null value.static <T> StyleClaim<T> StyleClaim.claim(String claimKey, Function<Style, @Nullable T> lens, Predicate<T> filter, BiConsumer<T, TokenEmitter> emitable) Create a new style claim that will emit content for any non-null value that passes the filter.