public override void ToTreeAttributes(ITreeAttribute tree) { base.ToTreeAttributes(tree); tree.SetString("mushroomBlockCode", mushroomBlockCode.ToShortString()); tree.SetVec3is("grownMushroomOffsets", grownMushroomOffsets); tree.SetDouble("mushromsGrownTotalDays", mushroomsGrownTotalDays); tree.SetDouble("mushroomsDiedTotalDays", mushroomsDiedTotalDays); tree.SetDouble("lastUpdateTotalDays", lastUpdateTotalDays); tree.SetDouble("mushroomsGrowingDays", mushroomsGrowingDays); }