# EntitySpecific

## Overview

| Return Value                                                                          | Function                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [EntityBomb](https://wofsauge.github.io/IsaacDocs/rep/EntityBomb.html)\[]             | [GetBombs](#getbombs)([`BombVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/BombVariant.html)\`                                                                                                                                                                                                                                                                                                               |
| [EntityEffect](https://wofsauge.github.io/IsaacDocs/rep/EntityEffect.html)\[]         | [GetEffects](#geteffects)([`EffectVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/EffectVariant.html)\`                                                                                                                                                                                                                                                                                                       |
| [EntityFamiliar](https://wofsauge.github.io/IsaacDocs/rep/EntityFamiliar.html)\[]     | [GetFamiliars](#getfamiliars)([`FamiliarVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/FamiliarVariant.html)\`                                                                                                                                                                                                                                                                                               |
| void                                                                                  | [GetKnives](#getknives)([`KnifeVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/knifevariant)\`                                                                                                                                                                                                                                                                                              |
| [EntityLaser](https://wofsauge.github.io/IsaacDocs/rep/EntityLaser.html)\[]           | [GetLasers](#getlasers)([`LaserVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/LaserVariant.html)\`                                                                                                                                                                                                                                                                                                           |
| [EntityNPC](https://wofsauge.github.io/IsaacDocs/rep/EntityNPC.html)\[]               | [GetNPCs](#getnpcs)([`EntityType`](https://wofsauge.github.io/IsaacDocs/rep/enums/EntityType.html)\`                                                                                                                                                                                                                                                                                                                   |
| [EntityPickup](https://wofsauge.github.io/IsaacDocs/rep/EntityPickup.html)\[]         | [GetPickups](#getpickups)([`PickupVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/PickupVariant.html)\`                                                                                                                                                                                                                                                                                                       |
| [EntityProjectile](https://wofsauge.github.io/IsaacDocs/rep/EntityProjectile.html)\[] | [GetProjectiles](#getprojectiles)([`ProjectileVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/ProjectileVariant.html)\`                                                                                                                                                                                                                                                                                       |
| [Entity](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)\[]                     | [GetSlots](#getslots)([`SlotVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/slotvariant)\`                                                                                                                                                                                                                                                                                                  |
| [EntityTear](https://wofsauge.github.io/IsaacDocs/rep/EntityTear.html)\[]             | [GetTears](#gettears)([`TearVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/TearVariant.html)\`                                                                                                                                                                                                                                                                                                               |
| [EntityBomb](https://wofsauge.github.io/IsaacDocs/rep/EntityBomb.html)                | [SpawnBomb](#spawnbomb)([`BombVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/BombVariant.html) bombVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer                               |
| [EntityEffect](https://wofsauge.github.io/IsaacDocs/rep/EntityEffect.html)            | [SpawnEffect](#spawneffect)([`EffectVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/EffectVariant.html) effectVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer                     |
| [EntityFamiliar](https://wofsauge.github.io/IsaacDocs/rep/EntityFamiliar.html)        | [SpawnFamiliar](#spawnfamiliar)([`FamiliarVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/FamiliarVariant.html) familiarVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer           |
| [EntityKnife](https://wofsauge.github.io/IsaacDocs/rep/EntityKnife.html)              | [SpawnKnife](#spawnknife)([`KnifeVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/knifevariant) knifeVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer             |
| [EntityLaser](https://wofsauge.github.io/IsaacDocs/rep/EntityLaser.html)              | [SpawnLaser](#spawnlaser)([`LaserVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/LaserVariant.html) laserVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer                          |
| [EntityNPC](https://wofsauge.github.io/IsaacDocs/rep/EntityNPC.html)                  | [SpawnNPC](#spawnnpc)([`EntityType`](https://wofsauge.github.io/IsaacDocs/rep/enums/EntityType.html) entityType, `integer` variant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner?, \`integer                |
| [EntityPickup](https://wofsauge.github.io/IsaacDocs/rep/EntityPickup.html)            | [SpawnPickup](#spawnpickup)([`PickupVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/PickupVariant.html) pickupVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer                     |
| [EntityProjectile](https://wofsauge.github.io/IsaacDocs/rep/EntityProjectile.html)    | [SpawnProjectile](#spawnprojectile)([`ProjectileVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/ProjectileVariant.html) projectileVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer |
| [Entity](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)                        | [SpawnSlot](#spawnslot)([`SlotVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/slotvariant) slotVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer                  |
| [EntityTear](https://wofsauge.github.io/IsaacDocs/rep/EntityTear.html)                | [SpawnTear](#spawntear)([`TearVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/TearVariant.html) tearVariant, `integer` subType, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html) position, [`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`?` velocity, [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`?` spawner, \`integer                               |

## Functions

### GetBombs()

[`EntityBomb`](https://wofsauge.github.io/IsaacDocs/rep/EntityBomb.html)`[] GetBombs(`[`BombVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/BombVariant.html) `| integer? bombVariant = -1 , integer? subType = -1 )`

Helper function to get all of the bombs in the room. (Specifically, this refers to the `EntityBomb` class, not bomb pickups.)

### GetEffects()

[`EntityEffect`](https://wofsauge.github.io/IsaacDocs/rep/EntityEffect.html)`[] GetEffects(`[`EffectVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/EffectVariant.html) `| integer? effectVariant = -1 , integer? subType = -1 )`

Helper function to get all of the effects in the room.

### GetFamiliars()

[`EntityFamiliar`](https://wofsauge.github.io/IsaacDocs/rep/EntityFamiliar.html)`[] GetFamiliars(`[`FamiliarVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/FamiliarVariant.html) `| integer? familiarVariant = -1 , integer? subType = -1 )`

Helper function to get all of the familiars in the room.

### GetKnives()

`void GetKnives(`[`KnifeVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/knifevariant) `| integer? knifeVariant = -1 , integer? subType = -1 )`

Helper function to get all of the knives in the room.

### GetLasers()

[`EntityLaser`](https://wofsauge.github.io/IsaacDocs/rep/EntityLaser.html)`[] GetLasers(`[`LaserVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/LaserVariant.html) `| integer? laserVariant = -1 , integer? subType = -1 )`

Helper function to get all of the lasers in the room.

### GetNPCs()

[`EntityNPC`](https://wofsauge.github.io/IsaacDocs/rep/EntityNPC.html)`[] GetNPCs(`[`EntityType`](https://wofsauge.github.io/IsaacDocs/rep/enums/EntityType.html) `| integer? entityType = -1 , integer? variant = -1 , integer? subType = -1 , boolean? ignoreFriendly = false )`

Helper function to get all of the NPCs in the room.

### GetPickups()

[`EntityPickup`](https://wofsauge.github.io/IsaacDocs/rep/EntityPickup.html)`[] GetPickups(`[`PickupVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/PickupVariant.html) `| integer? pickupVariant = -1 , integer? subType = -1 )`

Helper function to get all of the pickups in the room.

### GetProjectiles()

[`EntityProjectile`](https://wofsauge.github.io/IsaacDocs/rep/EntityProjectile.html)`[] GetProjectiles(`[`ProjectileVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/ProjectileVariant.html) `| integer? projectileVariant = -1 , integer? subType = -1 )`

Helper function to get all of the projectiles in the room.

### GetSlots()

[`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`[] GetSlots(`[`SlotVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/slotvariant) `| integer? slotVariant = -1 , integer? subType = -1 )`

Helper function to get all of the slots in the room.

### GetTears()

[`EntityTear`](https://wofsauge.github.io/IsaacDocs/rep/EntityTear.html)`[] GetTears(`[`TearVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/TearVariant.html) `| integer? tearVariant = -1 , integer? subType = -1 )`

Helper function to get all of the tears in the room.

### SpawnBomb()

[`EntityBomb`](https://wofsauge.github.io/IsaacDocs/rep/EntityBomb.html) `SpawnBomb(`[`BombVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/BombVariant.html)`bombVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a bomb.

### SpawnEffect()

[`EntityEffect`](https://wofsauge.github.io/IsaacDocs/rep/EntityEffect.html) `SpawnEffect(`[`EffectVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/EffectVariant.html)`effectVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn an effect.

### SpawnFamiliar()

[`EntityFamiliar`](https://wofsauge.github.io/IsaacDocs/rep/EntityFamiliar.html) `SpawnFamiliar(`[`FamiliarVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/FamiliarVariant.html)`familiarVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a familiar.

### SpawnKnife()

[`EntityKnife`](https://wofsauge.github.io/IsaacDocs/rep/EntityKnife.html) `SpawnKnife(`[`KnifeVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/knifevariant)`knifeVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a knife.

### SpawnLaser()

[`EntityLaser`](https://wofsauge.github.io/IsaacDocs/rep/EntityLaser.html) `SpawnLaser(`[`LaserVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/LaserVariant.html)`laserVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a laser.

### SpawnNPC()

[`EntityNPC`](https://wofsauge.github.io/IsaacDocs/rep/EntityNPC.html) `SpawnNPC(`[`EntityType`](https://wofsauge.github.io/IsaacDocs/rep/enums/EntityType.html)`entityType, integer variant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner?, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG?)`

Helper function to spawn an NPC. Note that if you pass a non-NPC `EntityType` to this function, it will cause a run-time error, since the `Entity.ToNPC` method will return nil.

### SpawnPickup()

[`EntityPickup`](https://wofsauge.github.io/IsaacDocs/rep/EntityPickup.html) `SpawnPickup(`[`PickupVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/PickupVariant.html)`pickupVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a pickup.

### SpawnProjectile()

[`EntityProjectile`](https://wofsauge.github.io/IsaacDocs/rep/EntityProjectile.html) `SpawnProjectile(`[`ProjectileVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/ProjectileVariant.html)`projectileVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a projectile.

### SpawnSlot()

[`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html) `SpawnSlot(`[`SlotVariant`](https://team-compliance.gitbook.io/library-of-isaac/custom-enums/slotvariant)`slotVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a slot.

### SpawnTear()

[`EntityTear`](https://wofsauge.github.io/IsaacDocs/rep/EntityTear.html) `SpawnTear(`[`TearVariant`](https://wofsauge.github.io/IsaacDocs/rep/enums/TearVariant.html)`tearVariant, integer subType,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`position,`[`Vector`](https://wofsauge.github.io/IsaacDocs/rep/Vector.html)`? velocity,` [`Entity`](https://wofsauge.github.io/IsaacDocs/rep/Entity.html)`? spawner, integer |` [`RNG`](https://wofsauge.github.io/IsaacDocs/rep/RNG.html)`? seedOrRNG)`

Helper function to spawn a tear.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://team-compliance.gitbook.io/library-of-isaac/modules/entityspecific.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
