Uses of Interface
net.kyori.adventure.text.minimessage.internal.serializer.StyleClaim
Packages that use StyleClaim
Package
Description
Serializer for the MiniMessage language.
-
Uses of StyleClaim in net.kyori.adventure.text.minimessage.internal.serializer
Methods in net.kyori.adventure.text.minimessage.internal.serializer that return StyleClaimModifier 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.default @Nullable StyleClaim<?> SerializableResolver.Single.claimStyle()Claim a style for tag emission.Methods in net.kyori.adventure.text.minimessage.internal.serializer with parameters of type StyleClaimModifier and TypeMethodDescriptionstatic 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.