| Interface | Description |
|---|---|
| MetadataKey<T> |
A MetadataKey can be mapped to values in a
MetadataMap. |
| MetadataMap |
A map which holds
MetadataKeys, and maps them to persistent or transient (expiring / weak) values. |
| MetadataRegistry<T> |
A registry which provides and stores
MetadataMaps for a given type. |
| TransientValue<T> |
Represents a value in a
MetadataMap which will automatically expire at some point. |
| Class | Description |
|---|---|
| AbstractMetadataRegistry<T> |
A basic implementation of
MetadataRegistry using a LoadingCache. |
| Empty |
An object which represents nothing.
|
| ExpireAfterAccessValue<T> |
Represents a value which will expire a set amount of time after the last access
|
| ExpiringValue<T> |
Represents a value which will expire in the future
|
| Metadata |
Provides access to
MetadataRegistry instances bound to players, entities, blocks and worlds. |
| SoftValue<T> |
Represents a value wrapped in a
SoftReference |
| WeakValue<T> |
Represents a value wrapped in a
WeakReference |
Copyright © 2020. All rights reserved.