@Contract(pure = true)
  @Override
  default @NotNull Component clickEvent(final @Nullable ClickEvent event) {
    return this.style(this.style().clickEvent(event));
  }
Sets the click event of this component.

@param event the click event
@return a component
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/Component.java