Uses of Interface
net.kyori.adventure.text.event.DataComponentValue
Packages that use DataComponentValue
Package
Description
Holders of Named Binary Tags.
Serializers for Configurate 4.
Events that occur when players interact with components.
Gson based serialization and deserialization.
-
Uses of DataComponentValue in net.kyori.adventure.nbt.api
Subinterfaces of DataComponentValue in net.kyori.adventure.nbt.api -
Uses of DataComponentValue in net.kyori.adventure.serializer.configurate4
Subinterfaces of DataComponentValue in net.kyori.adventure.serializer.configurate4Modifier and TypeInterfaceDescriptioninterfaceA data component value that can integrate with configuration nodes. -
Uses of DataComponentValue in net.kyori.adventure.text.event
Subinterfaces of DataComponentValue in net.kyori.adventure.text.eventModifier and TypeInterfaceDescriptionstatic interfaceOnly valid in a patch-style usage, indicating that the data component with a certain key should be removed.static interfaceRepresent anDataComponentValuethat can be represented as a binary tag.Methods in net.kyori.adventure.text.event with type parameters of type DataComponentValueModifier and TypeMethodDescriptionstatic <O extends DataComponentValue>
ODataComponentValueConverterRegistry.convert(Class<O> target, Key key, DataComponentValue in) Try to convert the data component valueinto the provided output type.<V extends DataComponentValue>
Map<Key, V> HoverEvent.ShowItem.dataComponentsAs(Class<V> targetType) Return an unmodifiable map of data components coerced to the target type.Methods in net.kyori.adventure.text.event that return types with arguments of type DataComponentValueModifier and TypeMethodDescriptionHoverEvent.ShowItem.dataComponents()Get the data components used for this item.Methods in net.kyori.adventure.text.event with parameters of type DataComponentValueModifier and TypeMethodDescriptionstatic <O extends DataComponentValue>
ODataComponentValueConverterRegistry.convert(Class<O> target, Key key, DataComponentValue in) Try to convert the data component valueinto the provided output type.Method parameters in net.kyori.adventure.text.event with type arguments of type DataComponentValueModifier and TypeMethodDescriptionHoverEvent.ShowItem.dataComponents(Map<Key, DataComponentValue> holder) Set the data components used on this item.static HoverEvent<HoverEvent.ShowItem> HoverEvent.showItem(Keyed item, @Range(from=0L,to=2147483647L) int count, Map<Key, ? extends DataComponentValue> dataComponents) Creates a hover event that shows an item on hover.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Keyed item, @Range(from=0L,to=2147483647L) int count, Map<Key, ? extends DataComponentValue> dataComponents) Creates. -
Uses of DataComponentValue in net.kyori.adventure.text.serializer.gson
Subinterfaces of DataComponentValue in net.kyori.adventure.text.serializer.gsonModifier and TypeInterfaceDescriptioninterfaceAnDataComponentValueimplementation that holds a JsonElement.