setMetadata
Sets metadata on this entity with the specified key and value.
This is a convenience extension function that wraps the value in a FixedMetadataValue and associates it with the entity using the provided plugin instance.
Parameters
plugin
The plugin instance that owns this metadata
key
The metadata key to set
value
The value to associate with the key