update

fun update(positions: Set<BlockPos>)

Removes all positions that are not in positions and adds all that are not in the queue.