public ModifierDefinition( string id, ModDomain domain, ModGenerationType generationType, IReadOnlyList <ModifierSpawnWeight> spawnWeights, IReadOnlyList <CraftableStat> stats) { Id = id; Domain = domain; GenerationType = generationType; SpawnWeights = spawnWeights; Stats = stats; }
/// <returns>the mod groups in this database with the given generation type</returns> public IReadOnlyList <ModGroup> this[ModGenerationType modtype] => _groupsByType[modtype];