removeAndDespawnIf
fun <M : EntityMetadata> MutableCollection<out PacketEntity<M>>.removeAndDespawnIf(filter: (PacketEntity<M>) -> Boolean)
Removes and despawns every packet entity in this collection for which filter returns true.