storedValue
Creates a MutableProvider to which properties can delegate.
The MutableProvider will contain the non-persistent data of type T under key or the result of defaultValue if there is no data stored under that key.
Creates a MutableProvider to which properties can delegate.
The MutableProvider will contain the data of type T under key or the result of defaultValue if there is no data stored under that key. For mutable data types, it is required that defaultValue returns a new instance every time it is called, and that all instances are equal to each other.
Parameters
If the data should also be stored in the ItemStack.
Creates a MutableProvider to which properties can delegate.
The MutableProvider will contain the data of type T under key or null
if there is no data stored under that key.
Parameters
If the data should also be stored in the ItemStack.