internal static void Start() { CleanLogger.Install(); BugReportFlagger.Init(); Console.WriteLine($"Nuterra.NuterraApi.Start({CurrentVersion})"); if (!Directory.Exists(FolderStructure.DataFolder)) { Console.WriteLine("Nuterra data folder is missing! Mods won't be loaded."); return; } Directory.CreateDirectory(FolderStructure.ModsFolder); Directory.CreateDirectory(FolderStructure.ConfigFolder); ModLoader.Instance.LoadAllMods(FolderStructure.ModsFolder); BlockLoader.PostModsLoaded(); }
public void Register() { ThrowIfFinished(); _finished = true; BlockLoader.Register(_customBlock); }