@Deprecated
  @ApiStatus.ScheduledForRemoval(inVersion = "5.0.0")
  static <T> @NotNull KeyedValue<T> of(final @NotNull Key key, final @NotNull T value) {
    return new KeyedValueImpl<>(key, requireNonNull(value, "value"));
  }
Creates a link.

@param key the key
@param value the value
@param <T> the value type
@return the keyed
@since 4.0.0
@deprecated for removal since 4.10.0, use {@link #keyedValue(Key, Object)} instead.
key/src/main/java/net/kyori/adventure/key/KeyedValue.java