Bukkit/CraftBukkit — pull request #1154 by ShadowDog007 (2013-05-05 11:51:31+00:00)
Title: Added a way to make use of async chunk IO. Adds BUKKIT-3340

The Issue:
Currently there is no way for developers to make use of CraftBukkits asynchronous chunk loader. All plugin managed chunk loads are forced to run in the main thread. Depending on disk IO capabilities this can cause noticeable decrease in TPS.

Justification for this PR:
This PR aims to allow developers to utilize CraftBukkits chunk loader to prevent this decrease in TPS by providing a way for them to queue chunks for loading and be notified (Via a callable object) upon the chunk being loaded.

PR Breakdown:
Added a method World.loadChunk(int, int, Runnable)

Relevant PR: https://github.com/Bukkit/Bukkit/pull/872

JIRA: https://bukkit.atlassian.net/browse/BUKKIT-3340