bound
Creates a bound entry for accessing persistent data within the container.
This method binds a PersistentDataContainer to a specific key and data type, returning a BoundEntry that allows retrieval of the associated value.
Return
A BoundEntry representing the binding of the key and type to the container.
Author
Fantamomo
Since
3.2-SNAPSHOT
Parameters
The key associated with the value in the persistent data container.
The PersistentDataType defining the primitive and complex types for the value.
Creates a DefaultBoundEntry that is bound to the specified PersistentDataContainer. This entry allows the retrieval of a value using the specified key and type, with the capability to provide a default value if the key does not exist in the container.
Return
A DefaultBoundEntry bound to the specified container, key, and type with the specified default value.
Author
Fantamomo
Since
3.2-SNAPSHOT
Parameters
The key associated with the value in the PersistentDataContainer.
The PersistentDataType used to serialize and deserialize the value.
A lambda function that provides a default value if the key does not exist in the container.