Attributes
Map of attributes accessible by AttributeKey in a typed manner
Functions
Link copied to clipboard
abstract fun <T : Any> computeIfAbsent(key: AttributeKey<T>, block: () -> T): T
Content copied to clipboard
Link copied to clipboard
Checks if an attribute with the specified key exists
Link copied to clipboard
Removes an attribute with the specified key and returns its current value, returns null
if an attribute doesn't exist
Properties
Link copied to clipboard
Returns List of all AttributeKey instances in this map