@Override
  public boolean equals(final @Nullable Object other) {
    if (this == other) return true;
    if (other == null || this.getClass() != other.getClass()) return false;
    final ClickEvent that = (ClickEvent) other;
    return this.action == that.action && Objects.equals(this.value, that.value);
  }
Gets the click event value.

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