set

inline operator fun <T : Any> PersistentDataEditor.set(key: NamespacedKey, value: T)

Stores a value in the container using the inferred type T.

Parameters

key

the key to store the value under

value

the value to store