public void LoadFromTag(CompoundTag tag) { Data = new Data(tag.GetCompoundTag(Data.DATA)); }
private void AssertData(Data data) { Assert.IsNotNull(data); Assert.AreEqual(422818L, data.Time); Assert.AreEqual(1294594277265L, data.LastPlayed); Assert.AreEqual(220, data.SpawnX); Assert.AreEqual(64, data.SpawnY); Assert.AreEqual(443, data.SpawnZ); Assert.AreEqual(6658419L, data.SizeOnDisk); Assert.AreEqual(-2451905027594237963L, data.RandomSeed); AssertPlayer(data.Player); }