Package net.kyori.adventure.util
Miscellaneous utilities.
-
Interface Summary Interface Description Buildable<R,B extends Buildable.Builder<R>> Something that can be built.Buildable.Builder<R> Deprecated. since 4.10.0, useAbstractBuilder
Codec<D,E,DX extends java.lang.Throwable,EX extends java.lang.Throwable> A combination encoder and decoder.Codec.Decoder<D,E,X extends java.lang.Throwable> A decoder.Codec.Encoder<D,E,X extends java.lang.Throwable> An encoder.ComponentMessageThrowable An extension interface forThrowable
s to provide aComponent
-based message.HSVLike Something that can provide hue, saturation, and value color components.InheritanceAwareMap<C,V> A map type that will traverse class hierarchy to find a value for a key.InheritanceAwareMap.Builder<C,V> A builder for inheritance-aware maps.IntFunction2<R> A function that takes twoint
s as input and produces aR
result.RGBLike Something that can provide red, green, and blue colour components.Services.Fallback A fallback service.Ticks Standard game tick utilities. -
Class Summary Class Description ForwardingIterator<T> An iterable that forwards theForwardingIterator.iterator()
andForwardingIterator.spliterator()
calls to somesuppliers
.Index<K,V> A bi-directional map in which keys and values must be unique.Listenable<L> Something that has listeners.MonkeyBars Collection
related utilities.Services Tools for working withServiceLoader
s.ShadyPines Various utilities.UTF8ResourceBundleControl AResourceBundle.Control
that enforces UTF-8 string encoding. -
Enum Summary Enum Description TriState Similar to aboolean
but with three states. -
Exception Summary Exception Description Nag A nag. -
Annotation Types Summary Annotation Type Description PlatformAPI Elements annotated with thePlatformAPI
annotation are intended for platform implementations of the Adventure API only and should not be used by standard developers.