copy To
fun PersistentDataContainer.copyTo(receiver: MutablePersistentDataContainer, replace: Boolean = true)(source)
This methode copies all key-value pairs from the PersistentDataContainer to the receiver.
If the replace is true, it will replace the value of the key in the receiver if it already exists.
Receiver
The receiver to copy the key-value pairs from.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
receiver
The MutablePersistentDataContainer to copy the key-value pairs to.
replace
If true, it will replace the value of the key in the receiver if it already exists.