> 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/itempool.md).

# Class "ItemPool"

## Functions

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

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

#### void AddBibleUpgrade ( int Add, [ItemPoolType](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ItemPoolType/README.md) PoolType ) {: .copyable aria-label='Functions' }

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

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

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

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

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

#### [PillColor](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/PillColor/README.md) ForceAddPillEffect ( [PillEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/ItemConfig_PillEffect/README.md) PillEffect ) {: .copyable aria-label='Functions' }

Forces a pill effect to be in the pool, usually for challenges, returns PillColor for that effect.

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

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

#### [Card](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/ItemConfig_Card/README.md) GetCard ( int Seed, boolean Playing, boolean Rune, boolean OnlyRunes ) {: .copyable aria-label='Functions' }

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

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

#### [CollectibleType](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/CollectibleType/README.md) GetCollectible ( [ItemPoolType](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ItemPoolType/README.md) PoolType, boolean Decrease, int Seed ) {: .copyable aria-label='Functions' }

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

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

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

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

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

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

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

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

#### [PillEffect](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/ItemConfig_PillEffect/README.md) GetPillEffect ( [PillColor](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/PillColor/README.md) PillColor ) {: .copyable aria-label='Functions' }

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

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

#### [ItemPoolType](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ItemPoolType/README.md) GetPoolForRoom ( [RoomType](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/RoomType/README.md) RoomType, int Seed ) {: .copyable aria-label='Functions' }

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

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

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

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

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

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

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

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

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

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

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

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

Removes a collectible from the itempool.

???+ bug "Bugs" This function will always return true, even when the given id does not exist!

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

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

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

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

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

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

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

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

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