Class HoverEvent.Action<V>

java.lang.Object
net.kyori.adventure.text.event.HoverEvent.Action<V>
Type Parameters:
V - the value type an action handles
Enclosing class:
HoverEvent<V>

public static final class HoverEvent.Action<V> extends Object
An enumeration of hover event actions.
Since:
4.0.0
  • Field Details

  • Method Details

    • name

      public String name()
      Returns the name of this action.
      Returns:
      the name
      Since:
      5.0.0
    • type

      public Class<V> type()
      Gets the value type.
      Returns:
      the value type
      Since:
      4.0.0
    • readable

      public boolean readable()
      Tests if this action is readable.
      Returns:
      true if this action is readable, false if this action is not readable
      Since:
      4.0.0
    • renderer

      public HoverEvent.Action.Renderer<V> renderer()
      The renderer for this action.
      Returns:
      the renderer
      Since:
      5.0.0
    • toString

      public String toString()
      Overrides:
      toString in class Object