Uses of Class
net.kyori.adventure.text.event.HoverEvent.ShowItem
Packages that use HoverEvent.ShowItem
Package
Description
Events that occur when players interact with components.
A common abstraction providing an API to serializer components with multiple JSON libraries.
-
Uses of HoverEvent.ShowItem in net.kyori.adventure.text.event
Fields in net.kyori.adventure.text.event with type parameters of type HoverEvent.ShowItemModifier and TypeFieldDescriptionstatic final HoverEvent.Action<HoverEvent.ShowItem> HoverEvent.Action.SHOW_ITEMShows an item instance when hovered over.Methods in net.kyori.adventure.text.event that return HoverEvent.ShowItemModifier and TypeMethodDescriptionHoverEvent.ShowItem.count(@Range(from=0L,to=2147483647L) int count) Sets the count.HoverEvent.ShowItem.dataComponents(Map<Key, DataComponentValue> holder) Set the data components used on this item.Sets the item.HoverEvent.ShowItem.nbt(@Nullable BinaryTagHolder nbt) Sets the nbt.static HoverEvent.ShowItemCreates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Keyed item, @Range(from=0L,to=2147483647L) int count, Map<Key, ? extends DataComponentValue> dataComponents) Creates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Keyed item, @Range(from=0L,to=2147483647L) int count, @Nullable BinaryTagHolder nbt) Creates.static HoverEvent.ShowItemCreates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Key item, @Range(from=0L,to=2147483647L) int count, @Nullable BinaryTagHolder nbt) Creates.Methods in net.kyori.adventure.text.event that return types with arguments of type HoverEvent.ShowItemModifier and TypeMethodDescriptionstatic HoverEvent<HoverEvent.ShowItem> Creates a hover event that shows an item on hover.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<HoverEvent.ShowItem> HoverEvent.showItem(Keyed item, @Range(from=0L,to=2147483647L) int count, @Nullable BinaryTagHolder nbt) Creates a hover event that shows an item on hover.static HoverEvent<HoverEvent.ShowItem> Creates a hover event that shows an item on hover.static HoverEvent<HoverEvent.ShowItem> HoverEvent.showItem(Key item, @Range(from=0L,to=2147483647L) int count, @Nullable BinaryTagHolder nbt) Creates a hover event that shows an item on hover.static HoverEvent<HoverEvent.ShowItem> HoverEvent.showItem(HoverEvent.ShowItem item) Creates a hover event that shows an item on hover.Methods in net.kyori.adventure.text.event with parameters of type HoverEvent.ShowItemModifier and TypeMethodDescriptionstatic HoverEvent<HoverEvent.ShowItem> HoverEvent.showItem(HoverEvent.ShowItem item) Creates a hover event that shows an item on hover. -
Uses of HoverEvent.ShowItem in net.kyori.adventure.text.serializer.json
Methods in net.kyori.adventure.text.serializer.json that return HoverEvent.ShowItemModifier and TypeMethodDescriptionLegacyHoverEventSerializer.deserializeShowItem(Component input) Convert a legacy hover eventshow_itemvalue to its modern format.Methods in net.kyori.adventure.text.serializer.json with parameters of type HoverEvent.ShowItemModifier and TypeMethodDescriptionLegacyHoverEventSerializer.serializeShowItem(HoverEvent.ShowItem input) Convert a modern hover eventshow_itemvalue to its legacy format.