private void AssertLevel(Level level) { Assert.IsNotNull(level); AssertData(level.Data); AssertEntities(level.Entities); Assert.AreEqual(327730, level.LastUpdate); Assert.AreEqual(0, level.XPos); Assert.AreEqual(0, level.ZPos); AssertTileEntities(level.TileEntities); Assert.AreEqual(1, level.TerrainPopulated); AssertSkyLight(level.SkyLight); AssertHeightMap(level.HeightMap); AssertBlockLight(level.BlockLight); AssertBlocks(level.Blocks); }
public void LoadFromTag(CompoundTag tag) { Level = new Level(tag.GetCompoundTag(Level.LEVEL)); }