get

inline operator fun <T : Any> PersistentDataEditor.get(key: NamespacedKey): T?

Retrieves a value from the container using the inferred type T.

Return

the stored value, or null if not present

Parameters

key

the key to look up