set Nullable
fun <P, C> PersistentDataContainer.setNullable(key: NamespacedKey, type: PersistentDataType<P, C>, value: C?)(source)
Wrapper around PersistentDataContainer.set that allows nullable values to be passed
Parameters
value
The value to set. If this is null, the key will be removed from the container