Ejemplo n.º 1
0
        TagCompound GenerateSection(int y)
        {
            var BlockLight = CreateList <byte>(2048, 0);
            var Data       = CreateList <byte>(2048, 0);
            var Blocks     = CreateList <byte>(4096, 0);
            var SkyLight   = CreateList <byte>(2048, 0);
            var chunk      = new TagCompound();

            chunk.AddTag(new TagInt("Y", y));
            chunk.AddTag(new TagByteArray("BlockLight", BlockLight));
            chunk.AddTag(new TagByteArray("Data", Data));
            chunk.AddTag(new TagByteArray("Blocks", Blocks));
            chunk.AddTag(new TagByteArray("SkyLight", SkyLight));
            return(chunk);
        }