public @NotNull ShowEntity id(final @NotNull UUID id) {
      if (requireNonNull(id).equals(this.id)) return this;
      return new ShowEntity(this.type, id, this.name);
    }
Sets the id.

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