getOrDefault

open override fun <T, C> getOrDefault(key: NamespacedKey, type: PersistentDataType<T, C>, defaultValue: C & Any): C & Any(source)