public byte GetMappingsData(int i)
{
if (mappingsDataFile == null)
throw new Exception("Tileset header group 0x" + Index.ToString("X") + " does not reference mapping data.");
mappingsDataFile.Seek(i, SeekOrigin.Begin);
return (byte)mappingsDataFile.ReadByte();
}