request.add(".Data.Player.SpawnZ");
request.add(".Data.LevelName");
request.add(".Data.GameType");
Map<String, AnyTag> result = NamedTag.quickParse(in, request);
AnyTag dim = result.get(".Data.Player.Dimension");
playerDimension = dim.intValue();
AnyTag version = result.get(".Data.version");
if (logWarnings && version.intValue() != NBT_VERSION) {
logger.warn("The world format for the world " + levelName +
" is not supported by Chunky.\n" +
"Will attempt to load the world anyway.");
}
AnyTag posX = result.get(".Data.Player.Pos.0");
AnyTag posY = result.get(".Data.Player.Pos.1");
AnyTag posZ = result.get(".Data.Player.Pos.2");
AnyTag yaw = result.get(".Data.Player.Rotation.0");
AnyTag pitch = result.get(".Data.Player.Rotation.1");
AnyTag spawnX = result.get(".Data.Player.SpawnX");
AnyTag spawnY = result.get(".Data.Player.SpawnY");
AnyTag spawnZ = result.get(".Data.Player.SpawnZ");
AnyTag gameType = result.get(".Data.GameType");
AnyTag randomSeed = result.get(".Data.RandomSeed");
gameMode = gameType.intValue(0);
seed = randomSeed.longValue(0);
playerX = posX.doubleValue();
playerY = posY.doubleValue();
playerZ = posZ.doubleValue();
playerYaw = yaw.floatValue();