addNewChunk

fun addNewChunk(newChunk: L2Chunk)

Record a newly created chunk in the latest generation, triggering eviction of some of the least recently used chunks if necessary.

Parameters

newChunk

The new chunk to track.