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

    • type

      @NotNull public @NotNull 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
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object