Interface DataComponent<T>

Type Parameters:
T - The value type of the component
All Superinterfaces:
net.kyori.adventure.key.Keyed, ProtocolObject, StaticProtocolObject

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