public static Section construktSection(int y,ch.spacebase.mc.protocol.data.game.Chunk data){
       if(data == null)return null;
       Section section = new Section(y);
       if(data.isEmpty())return section;
            int x = 0;
            y = 0;
            int z = 0;
            ByteArray3d blocks = data.getBlocks();
            while(y < 16){
             while(z < 16){
                while(x < 16){
                    
                   section.set(ContentManager.getInstance().getBlockManager().createBlock((short)(blocks.getData()[((y * 16 + z) * 16 + x)]+(data.getExtendedBlocks().get(x, y, z)<<8))), x, y, z);
                   section.get(x, y, z).setMetadata(data.getMetadata().getData()[((y * 16 + z) * 16 + x)]);
                x++;   
                
            }
                x =0;
                z++;
            }
             x =0;
             y++;
            }
            return section;
    
   }