@Override
    public boolean equals(final @Nullable Object other) {
      if (this == other) return true;
      if (other == null || this.getClass() != other.getClass()) return false;
      final ShowEntity that = (ShowEntity) other;
      return this.type.equals(that.type) && this.id.equals(that.id) && Objects.equals(this.name, that.name);
    }
Sets the name.

@param name the name
@return a {@code ShowEntity}
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/event/HoverEvent.java