@Override
    public int hashCode() {
      int result = this.type.hashCode();
      result = (31 * result) + this.id.hashCode();
      result = (31 * result) + Objects.hashCode(this.name);
      return result;
    }
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