updateMetadata

inline fun <M : EntityMetadata> Iterable<PacketEntity<M>?>.updateMetadata(update: M.() -> Unit)

Applies update to the metadata of every non-null packet entity in this iterable.