程序包 org.bukkit.metadata
package org.bukkit.metadata
用于提供在每种Minecraft概念上的插件指定数据的数据层.
-
类说明A FixedMetadataValue is a special case metadata item that contains the same value forever after initialization.The LazyMetadataValue class implements a type of metadata that is not computed until another plugin asks for it.Describes possible caching strategies for metadata.This interface is implemented by all objects that can provide metadata about themselves.A MetadataConversionException is thrown any time a
LazyMetadataValue
attempts to convert a metadata value to an inappropriate data type.A MetadataEvaluationException is thrown any time aLazyMetadataValue
fails to evaluate its value due to an exception.Optional base class for facilitating MetadataValue implementations.