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.
-
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(@org.jetbrains.annotations.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.ShowItemHoverEvent.ShowItem.showItem(Keyed item, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int count) Creates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Keyed item, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int count, Map<Key, ? extends DataComponentValue> dataComponents) Creates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Keyed item, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int count, @Nullable BinaryTagHolder nbt) Creates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Key item, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int count) Creates.static HoverEvent.ShowItemHoverEvent.ShowItem.showItem(Key item, @org.jetbrains.annotations.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> HoverEvent.showItem(Keyed item, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int count) Creates a hover event that shows an item on hover.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<HoverEvent.ShowItem> HoverEvent.showItem(Keyed item, @org.jetbrains.annotations.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, @org.jetbrains.annotations.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.