// Loads a chunk information from RDF file using Pallete-based Decompression
    public void LoadChunk(Chunk c)
    {
        byte biome     = 0;
        byte gen       = 0;
        int  blockdata = 0;
        int  hpdata    = 0;
        int  statedata = 0;

        GetCorrectRegion(c.pos);

        ReadHeader(c.pos);
        InterpretHeader(ref biome, ref gen, ref blockdata, ref hpdata, ref statedata);

        c.biomeName       = BiomeHandler.ByteToBiome(biome);
        c.lastVisitedTime = globalTime.DateBytes(timeArray);
        c.needsGeneration = gen;

        this.pool[ConvertToRegion(c.pos)].file.Read(blockBuffer, 0, blockdata);
        this.pool[ConvertToRegion(c.pos)].file.Read(hpBuffer, 0, hpdata);
        this.pool[ConvertToRegion(c.pos)].file.Read(stateBuffer, 0, statedata);

        Compression.DecompressBlocks(c, blockBuffer);
        Compression.DecompressMetadataHP(c, hpBuffer);
        Compression.DecompressMetadataState(c, stateBuffer);
    }