Uses of Class
net.kyori.adventure.text.event.HoverEvent.ShowEntity
Packages that use HoverEvent.ShowEntity
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.ShowEntity in net.kyori.adventure.text.event
Fields in net.kyori.adventure.text.event with type parameters of type HoverEvent.ShowEntityModifier and TypeFieldDescriptionstatic final HoverEvent.Action<HoverEvent.ShowEntity> HoverEvent.Action.SHOW_ENTITYShows an entity when hovered over.Methods in net.kyori.adventure.text.event that return HoverEvent.ShowEntityModifier and TypeMethodDescriptionSets the id.Sets the name.static HoverEvent.ShowEntityHoverEvent.ShowEntity.showEntity(Keyed type, UUID id) Creates.static HoverEvent.ShowEntityHoverEvent.ShowEntity.showEntity(Keyed type, UUID id, @Nullable Component name) Creates.static HoverEvent.ShowEntityHoverEvent.ShowEntity.showEntity(Key type, UUID id) Creates.static HoverEvent.ShowEntityHoverEvent.ShowEntity.showEntity(Key type, UUID id, @Nullable Component name) Creates.Sets the type.Sets the type.Methods in net.kyori.adventure.text.event that return types with arguments of type HoverEvent.ShowEntityModifier and TypeMethodDescriptionstatic HoverEvent<HoverEvent.ShowEntity> HoverEvent.showEntity(Keyed type, UUID id) Creates a hover event that show information about an entity on hover.static HoverEvent<HoverEvent.ShowEntity> HoverEvent.showEntity(Keyed type, UUID id, @Nullable Component name) Creates a hover event that show information about an entity on hover.static HoverEvent<HoverEvent.ShowEntity> HoverEvent.showEntity(Key type, UUID id) Creates a hover event that show information about an entity on hover.static HoverEvent<HoverEvent.ShowEntity> HoverEvent.showEntity(Key type, UUID id, @Nullable Component name) Creates a hover event that show information about an entity on hover.static HoverEvent<HoverEvent.ShowEntity> HoverEvent.showEntity(HoverEvent.ShowEntity entity) Creates a hover event that show information about an entity on hover.Methods in net.kyori.adventure.text.event with parameters of type HoverEvent.ShowEntityModifier and TypeMethodDescriptionstatic HoverEvent<HoverEvent.ShowEntity> HoverEvent.showEntity(HoverEvent.ShowEntity entity) Creates a hover event that show information about an entity on hover. -
Uses of HoverEvent.ShowEntity in net.kyori.adventure.text.serializer.json
Methods in net.kyori.adventure.text.serializer.json that return HoverEvent.ShowEntityModifier and TypeMethodDescriptionLegacyHoverEventSerializer.deserializeShowEntity(Component input, Codec.Decoder<Component, String, ? extends RuntimeException> componentDecoder) Convert a legacy hover eventshow_entityvalue to its modern format.Methods in net.kyori.adventure.text.serializer.json with parameters of type HoverEvent.ShowEntityModifier and TypeMethodDescriptionLegacyHoverEventSerializer.serializeShowEntity(HoverEvent.ShowEntity input, Codec.Encoder<Component, String, ? extends RuntimeException> componentEncoder) Convert a modern hover eventshow_entityvalue to its legacy format.