Interface DataComponent<T>

Type Parameters:
T - The value type of the component
All Superinterfaces:
Codec<T>, Decoder<T>, Encoder<T>, Holder, net.kyori.adventure.key.Keyed, RegistryKey, StaticProtocolObject

public sealed interface DataComponent<T> extends StaticProtocolObject, Codec<T>
A common type to represent all forms of component in the game. Each group of component types has its own declaration file (see DataComponent for example).
See Also: