Uses of Interface
org.bukkit.metadata.MetadataValue
Package
Description
Classes dedicated to providing a layer of plugin specified data on various
Minecraft concepts.
-
Uses of MetadataValue in org.bukkit.metadata
Modifier and TypeClassDescriptionclass
A FixedMetadataValue is a special case metadata item that contains the same value forever after initialization.class
The LazyMetadataValue class implements a type of metadata that is not computed until another plugin asks for it.class
Optional base class for facilitating MetadataValue implementations.Modifier and TypeMethodDescriptionMetadatable.getMetadata
(@NotNull String metadataKey) Returns a list of previously set metadata values from the implementing object's metadata store.MetadataStore.getMetadata
(T subject, @NotNull String metadataKey) Returns all metadata values attached to an object.MetadataStoreBase.getMetadata
(T subject, @NotNull String metadataKey) Returns all metadata values attached to an object.Modifier and TypeMethodDescriptionvoid
Metadatable.setMetadata
(@NotNull String metadataKey, @NotNull MetadataValue newMetadataValue) Sets a metadata value in the implementing object's metadata store.void
MetadataStore.setMetadata
(T subject, @NotNull String metadataKey, @NotNull MetadataValue newMetadataValue) Adds a metadata value to an object.void
MetadataStoreBase.setMetadata
(T subject, @NotNull String metadataKey, @NotNull MetadataValue newMetadataValue) Adds a metadata value to an object.