set To
Sets a value into the provided PersistentDataContainer using a specified key.
Parameters
container
The PersistentDataContainer where the value will be stored.
key
The NamespacedKey used to store and retrieve the value.
Sets a value into the provided PersistentDataContainer using a specified key.
The PersistentDataContainer where the value will be stored.
The NamespacedKey used to store and retrieve the value.