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, useAbstractBuilderCodec<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 forThrowables to provide aComponent-based message.HSVLike Something that can provide hue, saturation, and value color components.IntFunction2<R> A function that takes twoints as input and produces aRresult.RGBLike Something that can provide red, green, and blue colour components.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 Collectionrelated utilities.Services Tools for working withServiceLoaders.ShadyPines Various utilities.UTF8ResourceBundleControl AResourceBundle.Controlthat enforces UTF-8 string encoding. -
Enum Summary Enum Description TriState Similar to abooleanbut with three states. -
Exception Summary Exception Description Nag A nag. -
Annotation Types Summary Annotation Type Description PlatformAPI Elements annotated with thePlatformAPIannotation are intended for platform implementations of the Adventure API only and should not be used by standard developers.