public boolean unload100OldestChunks()
    {
        int var1;

        for (var1 = 0; var1 < 100; ++var1)
        {
            if (!this.droppedChunksSet.isEmpty())
            {
                Long var2 = (Long)this.droppedChunksSet.iterator().next();
                Chunk var3 = (Chunk)this.chunkMap.getValueByKey(var2.longValue());
                var3.onChunkUnload();
                this.saveChunkData(var3);
                this.saveChunkExtraData(var3);
                this.droppedChunksSet.remove(var2);
                this.chunkMap.remove(var2.longValue());
                this.chunkList.remove(var3);
            }
        }

        for (var1 = 0; var1 < 10; ++var1)
        {
            if (this.field_35392_h >= this.chunkList.size())
            {
                this.field_35392_h = 0;
                break;
            }

            Chunk var4 = (Chunk)this.chunkList.get(this.field_35392_h++);
            EntityPlayer var5 = this.worldObj.func_48456_a((double)(var4.xPosition << 4) + 8.0D, (double)(var4.zPosition << 4) + 8.0D, 288.0D);

            if (var5 == null)
            {
                this.dropChunk(var4.xPosition, var4.zPosition);
            }
        }

        if (this.chunkLoader != null)
        {
            this.chunkLoader.chunkTick();
        }

        return this.chunkProvider.unload100OldestChunks();
    }