getting a loaded chunk is one of the most hottest pieces of code in the game. Often, getChunkAt is called for the same chunk multiple times in a row, often from getType(); Optimize this look up by using a Last Access cache.