What is World.getChunkCount()?

What exactly does World.getChunkCount() measure?

I assumed it would provide a count all the chunks in the world (loaded and unloaded). If not that then I assume it would provide the number of loaded chunks. However the value I’m getting makes both those impossible.
If I do world.getLoadedChunks().length, I get 529.
If I do world.getChunkCount() I get 441.

So as you can see, the value returned is less than the number of loaded chunks. So what is this measuring?

1 Like