public void AddCraftGroup(Mod mod, string name, int stack = 1) { if (mod == null) { mod = this.mod; } this.AddCraftGroup(mod.GetCraftGroup(name), stack); }