> For the complete documentation index, see [llms.txt](https://docs.moddingofisaac.com/ab_p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moddingofisaac.com/ab_p/beta/docs/seeds.md).

# Class "Seeds"

## Functions

### AddSeedEffect () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void AddSeedEffect ( [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Value ) {: .copyable aria-label='Functions' }

### CanAddSeedEffect () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### boolean CanAddSeedEffect ( [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Value ) {: .copyable aria-label='Functions' }

### ClearSeedEffects () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void ClearSeedEffects ( ) {: .copyable aria-label='Functions' }

### ClearStartSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void ClearStartSeed ( ) {: .copyable aria-label='Functions' }

### CountSeedEffects () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### int CountSeedEffects ( ) {: .copyable aria-label='Functions' }

### CountUnlockedSeedEffects () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static int CountUnlockedSeedEffects ( ) {: .copyable aria-label='Functions' }

### ForgetStageSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void ForgetStageSeed ( [LevelStage](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/LevelStage/README.md) Stage ) {: .copyable aria-label='Functions' }

### GetNextSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### int GetNextSeed ( ) {: .copyable aria-label='Functions' }

### GetPlayerInitSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### int GetPlayerInitSeed ( ) {: .copyable aria-label='Functions' }

### GetSeedEffect () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) GetSeedEffect ( string str ) {: .copyable aria-label='Functions' }

### GetStageSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### int GetStageSeed ( [LevelStage](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/LevelStage/README.md) Stage ) {: .copyable aria-label='Functions' }

### GetStartSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### int GetStartSeed ( ) {: .copyable aria-label='Functions' }

### GetStartSeedString () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### string GetStartSeedString ( ) {: .copyable aria-label='Functions' }

### HasSeedEffect () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### boolean HasSeedEffect ( [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Value ) {: .copyable aria-label='Functions' }

### InitSeedInfo () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static InitSeedInfo ( ) {: .copyable aria-label='Functions' }

### IsCustomRun () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### boolean IsCustomRun ( ) {: .copyable aria-label='Functions' }

Returns true if the player is in a challenge run or a seeded run.

### IsInitialized () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### boolean IsInitialized ( ) {: .copyable aria-label='Functions' }

### IsSeedComboBanned () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### boolean IsSeedComboBanned ( [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Seed1, [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Seed2 ) {: .copyable aria-label='Functions' }

### IsSpecialSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static boolean IsSpecialSeed ( string str ) {: .copyable aria-label='Functions' }

### IsStringValidSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static boolean IsStringValidSeed ( string str ) {: .copyable aria-label='Functions' }

### RemoveBlockingSeedEffects () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void RemoveBlockingSeedEffects ( [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Value ) {: .copyable aria-label='Functions' }

Removes seeds that are banned in conjunction with the given seed.

### RemoveSeedEffect () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void RemoveSeedEffect ( [SeedEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/SeedEffect/README.md) Value ) {: .copyable aria-label='Functions' }

### Reset () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void Reset ( ) {: .copyable aria-label='Functions' }

Removes all seed effects, only goes into effect when the run is restarted

### Restart () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void Restart ( [Challenge](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/Challenge/README.md) CurrentChallenge ) {: .copyable aria-label='Functions' }

Re-selects a random start seed but only if the start seed was not custom.

### Seed2String () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static string Seed2String ( int seed ) {: .copyable aria-label='Functions' }

### SetStartSeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### void SetStartSeed ( string StartSeed ) {: .copyable aria-label='Functions' }

Empty string means we will pick a new random seed.

### String2Seed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/seeds.md){: .static .tooltip .badge } [ ](/ab_p/beta/docs/seeds.md){: .abp .tooltip .badge }

#### static int String2Seed ( string str ) {: .copyable aria-label='Functions' }

void RestoreGameState(const GameState& State); void SaveGameState(GameState& State);
