Uses of Interface
net.kyori.adventure.text.event.DataComponentValue
Packages that use DataComponentValue
Package
Description
Holders of Named Binary Tags.
Events that occur when players interact with components.
-
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.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, @org.jetbrains.annotations.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, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int count, Map<Key, ? extends DataComponentValue> dataComponents) Creates.