Class PdcUtils
-
- All Implemented Interfaces:
public final class PdcUtils
-
-
Method Summary
Modifier and Type Method Description final static <P extends Any, C extends Any> Unit
setNullable(PersistentDataContainer $self, NamespacedKey key, PersistentDataType<P, C> type, C value)
Sets a value in the PersistentDataContainer if it is not null, otherwise removes the key -
-
Method Detail
-
setNullable
final static <P extends Any, C extends Any> Unit setNullable(PersistentDataContainer $self, NamespacedKey key, PersistentDataType<P, C> type, C value)
Sets a value in the PersistentDataContainer if it is not null, otherwise removes the key
-
-
-
-