public static @NotNull ClickEvent clickEvent(final @NotNull Action action, final @NotNull String value) {
    return new ClickEvent(action, value);
  }
Creates a click event.

@param action the action
@param value the value
@return a click event
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java