get Value
Retrieves a value from the ItemStack's PersistentDataContainer.
Return
The retrieved value, or null if the data is not found.
Parameters
key
The NamespacedKey used to locate the data within the PersistentDataContainer.
data Type
The PersistentDataType that specifies the type of data being retrieved.