Uses of Interface
net.kyori.adventure.text.event.HoverEventSource
Packages that use HoverEventSource
Package
Description
Data for controlling components, their styles, and events.
Events that occur when players interact with components.
Formats which may be applied to components.
-
Uses of HoverEventSource in net.kyori.adventure.text
Subinterfaces of HoverEventSource in net.kyori.adventure.textModifier and TypeInterfaceDescriptioninterfaceGiven an in-game position, this component reads the NBT of the associated block and displays that information.interfaceA Component is an immutable object that represents how text is displayed Minecraft clients.interfaceGiven a Minecraft selector, this component reads the NBT of the associated entity and displays that information.interfaceAComponentthat displays the client's current keybind for the supplied action.interfaceNBTComponent<C extends NBTComponent<C>>A component that can display NBT fetched from different locations, optionally trying to interpret the NBT as JSON using thenet.kyori.adventure.text.serializer.gson.GsonComponentSerializerto convert the JSON to aComponent.interfaceDisplays a non-text object.interfaceScopedComponent<C extends Component>Some magic to change return types.interfaceA component that can display a player's score from a scoreboard objective, with an optional fallback value if the search for the score fails.interfaceA component that can display the name of entities found with a given selector.interfaceGiven aKey, this component reads the NBT of the associated command storage and displays that information.interfaceA component that displays a string.interfaceA component that can display translated text.interfaceA virtual component.Methods in net.kyori.adventure.text with parameters of type HoverEventSourceModifier and TypeMethodDescriptiondefault ComponentComponent.hoverEvent(@Nullable HoverEventSource<?> source) Sets the hover event of this component.ComponentBuilder.hoverEvent(@Nullable HoverEventSource<?> source) Sets the hover event of this component.default CScopedComponent.hoverEvent(@Nullable HoverEventSource<?> event) -
Uses of HoverEventSource in net.kyori.adventure.text.event
Classes in net.kyori.adventure.text.event that implement HoverEventSourceMethods in net.kyori.adventure.text.event with parameters of type HoverEventSourceModifier and TypeMethodDescriptionstatic <V> @Nullable HoverEvent<V> HoverEventSource.unbox(@Nullable HoverEventSource<V> source) Fetches aHoverEventfrom aHoverEventSource. -
Uses of HoverEventSource in net.kyori.adventure.text.format
Methods in net.kyori.adventure.text.format with parameters of type HoverEventSourceModifier and TypeMethodDescriptionStyle.Builder.hoverEvent(@Nullable HoverEventSource<?> source) Sets the hover event.Style.hoverEvent(@Nullable HoverEventSource<?> source) Sets the hover event.StyleSetter.hoverEvent(@Nullable HoverEventSource<?> source) Sets the hover event.