📚
Library of Isaac
  • Library of Isaac
  • Get Started
  • F.A.Q.
  • Custom Enums
    • AmbushType
    • AngelVariant
    • BabyLongLegsVariant
    • BabyVariant
    • BeastVariant
    • BegottenVariant
    • BigBonyVariant
    • BigHornVariant
    • BloodClotSubType
    • BloodExplosionSubType
    • BloodPuppyVariant
    • BlueFlySubType
    • BoilVariant
    • BonyVariant
    • BoomFlyVariant
    • BossID
    • CallbackOptionalArgType
    • CallbackReturnMode
    • CanaryVariant
    • Charger2Variant
    • ChargerSubType
    • ChargerVariant
    • ChimeraVariant
    • ChubVariant
    • ClottyVariant
    • ClutchVariant
    • ConjoinedFattyVariant
    • ConstantStoneShooterSubType
    • ConstantStoneShooterVariant
    • ConversionHeartSubType
    • CopyableIsaacAPIClassType
    • CrawlSpaceVariant
    • CrazyLongLegsVariant
    • CultistVariant
    • CustomCallback
    • CustomReviveType
    • DaddyLongLegsVariant
    • DannyVariant
    • DarkEsauVariant
    • DeathsHeadVariant
    • DeathVariant
    • DebugMode
    • DiceFloorSubType
    • Dimension
    • DingleVariant
    • DipFamiliarSubType
    • DipVariant
    • DogmaVariant
    • DopleVariant
    • DukeVariant
    • DumpVariant
    • EnvyVariant
    • EvisVariant
    • ExorcistVariant
    • EyeVariant
    • FacelessVariant
    • FallenVariant
    • FattyVariant
    • FireplaceVariant
    • FistulaVariant
    • FlyBombVariant
    • Gaper2Variant
    • GaperVariant
    • GeminiVariant
    • GenericPropVariant
    • GibSubType
    • GlobinVariant
    • GluttonyVariant
    • GoatVariant
    • GreedVariant
    • GridEntityXMLType
    • GrimaceVariant
    • GrubVariant
    • GurgleVariant
    • GurglingVariant
    • GusherVariant
    • GutsVariant
    • GuttedFattyVariant
    • GyroVariant
    • HauntVariant
    • HealthType
    • HeartVariant
    • HeavenLightDoorSubType
    • HiveVariant
    • HomunculusVariant
    • HopperVariant
    • HostVariant
    • InventoryType
    • IsaacVariant
    • ItemConfigTag
    • KnifeVariant
    • KnightVariant
    • LambVariant
    • LarryJrVariant
    • LeaperVariant
    • LeechVariant
    • LeperVariant
    • LittleHornVariant
    • LockState
    • LokiVariant
    • LustVariant
    • MamaGurdyVariant
    • MaskVariant
    • MawVariant
    • MegaSatanVariant
    • MembrainVariant
    • MoleVariant
    • MomsHeartVariant
    • MomVariant
    • Monstro2Variant
    • MotherSubType
    • MotherVariant
    • MoveableTNTVariant
    • MrMawVariant
    • MrMineVariant
    • MulliganVariant
    • NeedleVariant
    • NerveEndingVariant
    • ParaBiteVariant
    • PeeperFattyVariant
    • PeepVariant
    • PickupNullSubType
    • PillEffectType
    • PinVariant
    • PitfallVariant
    • PitState
    • PitVariant
    • PokyVariant
    • PoltyVariant
    • PolycephalusVariant
    • PoofSubType
    • PoopEntityVariant
    • PoopGridEntityVariant
    • PoopState
    • PooterVariant
    • PortalVariant
    • PressurePlateVariant
    • PreyVariant
    • PrideVariant
    • ProjectilesMode
    • PurgatorySubType
    • RageCreepVariant
    • RaglichVariant
    • RaglingVariant
    • RagManVariant
    • RagMegaVariant
    • RevenantVariant
    • RockSpiderVariant
    • RockState
    • RockVariant
    • RotgutVariant
    • RoundWormVariant
    • SatanVariant
    • ScourgeVariant
    • SerializationBrand
    • SerializationType
    • ShockwaveSoundMode
    • ShopKeeperVariant
    • SingeVariant
    • SirenVariant
    • SkinnyVariant
    • SlothVariant
    • SlotVariant
    • SpiderWebState
    • SpittyVariant
    • SquirtVariant
    • StageID
    • StatueVariant
    • StoneyVariant
    • SubHorfVariant
    • SuckerVariant
    • SwingerVariant
    • TallLadderSubType
    • TNTState
    • TrapdoorVariant
    • TumorVariant
    • UltraCoinVariant
    • UltraGreedVariant
    • VariablePersistenceMode
    • VisageVariant
    • VisFattyVariant
    • VisVariant
    • WalkingBoilVariant
    • WallCreepVariant
    • WarVariant
    • WhipperVariant
    • WidowVariant
    • WrathVariant
  • CustomCallback
  • Modules
    • Ambush
    • Benchmark
    • BitSet128
    • Bombs
    • Bosses
    • Charge
    • Collectibles
    • Color
    • CustomItemPools
    • Debug
    • Dimensions
    • Direction
    • Doors
    • Effects
    • Entities
    • EntitySpecific
    • Familiars
    • GridEntities
    • GridIndexes
    • GridSpecific
    • Input
    • IsaacAPIClass
    • ItemPool
    • JSON
    • Log
    • Pause
    • Pickups
    • PickupSpecific
    • Pills
    • Players
    • Random
    • RNG
    • Rooms
    • RoomSpecific
    • Run
    • SaveManager
    • Serialize
    • ShockWaves
    • Sprites
    • Stage
    • Trinkets
    • UI
    • Utils
      • DeepCopy
      • Easings
      • Flags
      • Functions
      • Math
      • String
      • Tables
    • Vector
Powered by GitBook
On this page
  • Overview
  • Functions
  • CloseAllDoors()
  • CloseDoorFast()
  • DoorSlotsToDoorSlotBitMask()
  • DoorSlotToDirection()
  • DoorSlotToDoorSlotFlag()
  • GetAngelOrDevilRoomDoor()
  • GetAngelRoomDoor()
  • GetBlueWombDoor()
  • GetDevilRoomDoor()
  • GetDoorEnterPosition()
  • GetDoors()
  • GetDoorSlotEnterPosition()
  • GetDoorSlotEnterPositionOffset()
  • GetDoorSlotsForRoomShape()
  • GetDoorSlotsFromDoorSlotBitMask()
  • GetDoorsToRoomIndex()
  • GetRoomShapeDoorSlot()
  • GetRoomShapeDoorSlotCoordinates()
  • GetSecretExitDoor()
  • GetUnusedDoorSlots()
  • HasUnusedDoorSlot()
  • IsAngelRoomDoor()
  • IsBlueWombDoor()
  • IsDevilRoomDoor()
  • IsDoorSlotInRoomShape()
  • IsDoorToDownpour()
  • IsDoorToMausoleum()
  • IsDoorToMausoleumAscent()
  • IsDoorToMines()
  • IsDoorToMomsHeart()
  • IsHiddenSecretDoor()
  • IsSecretExitDoor()
  • IsSecretRoomDoor()
  • LockDoor()
  • OpenAllDoors()
  • OpenDoorFast()
  • RemoveAllDoorsOfType()
  • RemoveDoor()
  • RemoveDoors()
  1. Modules

Doors

Overview

Return Value
Function

void

void

integer

integer

{x:integer, y:integer}?

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

boolean

void

void

void

void

void

void

Functions

CloseAllDoors()

void CloseAllDoors(boolean playAnim)

Helper funciton to close all doors in the current room.

CloseDoorFast()

Helper function to open a door instantly without playing its open animation.

DoorSlotsToDoorSlotBitMask()

Helper function to convert the provided door slots into a door slot bitmask.

DoorSlotToDirection()

Helper function to get the direction corresponding to a given door slot.

DoorSlotToDoorSlotFlag()

Helper function to get a door slot flag from a door slot.

GetAngelOrDevilRoomDoor()

Helper function to get an angel or devil room door in the current room. Note that if there are both an angel and devil room door it'll only return the one in the lowest door slot.

GetAngelRoomDoor()

Helper function to get the angel room door in the current room. If there isn't any, returns nil.

GetBlueWombDoor()

Helper function to get the door that leads to the blue womb entrance in the current room.

GetDevilRoomDoor()

Helper function to get the devil room door in the current room. If there isn't any, returns nil.

GetDoorEnterPosition()

Helper function to get the position that a player will enter a room at corresponding to a door.

GetDoors()

Helper function to return all doors in the current room. You can optionally specify one or more room types to return only the doors that match the specified room types.

GetDoorSlotEnterPosition()

Helper function to get the position that a player will enter a room at corresponding to a door slot.

GetDoorSlotEnterPositionOffset()

Helper function to get the offset from a door position that a player will enter a room at.

GetDoorSlotsForRoomShape()

Helper function to get all the possible door slots in a room shape.

GetDoorSlotsFromDoorSlotBitMask()

Helper function to get the door slots corresponding to a door slot bit mask.

GetDoorsToRoomIndex()

Helper function to return all doors in the current room that lead to a given room index.

GetRoomShapeDoorSlot()

Helper function to get the corresponding door slot for a given room shape and grid coordinates.

GetRoomShapeDoorSlotCoordinates()

Helper function to get the grid coordinates for a specific room shape and door slot combination.

GetSecretExitDoor()

Helper function to get the door that leads to a repentance secret exit in the current room.

GetUnusedDoorSlots()

Helper function to get all unused door slots in the current room. Useful to spawn custom doors.

HasUnusedDoorSlot()

boolean HasUnusedDoorSlot()

Helper function to check if the current room has any unused door slots.

IsAngelRoomDoor()

Helper function to see if a door leads to an angel deal room.

IsBlueWombDoor()

Helper function to see if a door is the blue womb entrance door that appears after defeating Mom's Heart/It Lives.

IsDevilRoomDoor()

Helper function to see if a door leads to an devil deal room.

IsDoorSlotInRoomShape()

Helper function to check if a given door slot can be present in a given room shape.

IsDoorToDownpour()

Helper function to see if a door leads to the secret exit to Downpour.

IsDoorToMausoleum()

Helper function to see if a door leads to the secret exit to Mausoleum.

IsDoorToMausoleumAscent()

Helper function to see if a door leads to the secret exit to the ascent version of Mausoleum, located in Depths 2 and requires The Polaroid or The Negative to open.

IsDoorToMines()

Helper function to see if a door leads to the secret exit to Mines.

IsDoorToMomsHeart()

Helper function to see if a door is the door that spawns after defeating Mom in Mausoleum II and requires both knife pieces to open.

IsHiddenSecretDoor()

Helper function to check if a door is a hole in the wall that appears after bombing the entrance to a secret room but hasn't been revealed yet.

IsSecretExitDoor()

Helper function to see if a door leads to any of the secret exit introduced in Repentance, that lead you to the Repentance floors.

IsSecretRoomDoor()

Helper function to check if a door is a hole in the wall that appears after bombing the entrance to a secret room. Note that the door still exists even if it hasn't been bombed yet.

LockDoor()

Helper function to reset an unlocked door back to its locked state.

OpenAllDoors()

void OpenAllDoors(boolean playAnim)

Helper funciton to open all doors in the current room

OpenDoorFast()

Helper function to open a door instantly without playing its open animation.

RemoveAllDoorsOfType()

Helper function to remove all doors of the given room types.

RemoveDoor()

Helper function to remove a single door

RemoveDoors()

Helper function to remove all the given doors

PreviousDirectionNextEffects

Last updated 2 years ago

(boolean playAnim)

( door)

( ...)

( doorSlot)

( doorSlot)

?

()

?

()

?

()

?

()

( door)

[]

( ...)

( doorSlot)

(any doorSlot)

[]

( roomShape)

[]

(integer doorSlotBitMask)

[]

(integer ...)

?

( roomShape, integer x, integer y)

( roomShape, doorSlot)

?

()

[]

()

()

( door)

( door)

( door)

( doorSlot, roomShape)

( door)

( door)

( door)

( door)

( door)

( door)

( door)

( door)

( door)

(boolean playAnim)

( door)

( ...)

( door)

([] doors)

void CloseDoorFast( door)

integer DoorSlotsToDoorSlotBitMask( ...)

DoorSlotToDirection( doorSlot)

integer DoorSlotToDoorSlotFlag( doorSlot)

? GetAngelOrDevilRoomDoor()

? GetAngelRoomDoor()

? GetBlueWombDoor()

? GetDevilRoomDoor()

GetDoorEnterPosition( door)

[] GetDoors( ...)

GetDoorSlotEnterPosition( doorSlot)

GetDoorSlotEnterPositionOffset(any doorSlot)

[] GetDoorSlotsForRoomShape( roomShape)

[] GetDoorSlotsFromDoorSlotBitMask(integer doorSlotBitMask)

[] GetDoorsToRoomIndex(integer ...)

? GetRoomShapeDoorSlot( roomShape, integer x, integer y)

{x:integer, y:integer}? GetRoomShapeDoorSlotCoordinates(roomShape, doorSlot)

? GetSecretExitDoor()

[] GetUnusedDoorSlots()

boolean IsAngelRoomDoor( door)

boolean IsBlueWombDoor( door)

boolean IsDevilRoomDoor( door)

boolean IsDoorSlotInRoomShape(doorSlot, roomShape)

boolean IsDoorToDownpour( door)

boolean IsDoorToMausoleum( door)

boolean IsDoorToMausoleumAscent( door)

boolean IsDoorToMines( door)

boolean IsDoorToMomsHeart( door)

boolean IsHiddenSecretDoor( door)

boolean IsSecretExitDoor( door)

boolean IsSecretRoomDoor( door)

void LockDoor( door)

void OpenDoorFast( door)

void RemoveAllDoorsOfType( ...)

void RemoveDoor( door)

void RemoveDoors([] doors)

GridEntityDoor
DoorSlot
Direction
DoorSlot
DoorSlot
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
Vector
GridEntityDoor
GridEntityDoor
RoomType
Vector
DoorSlot
Vector
DoorSlot
RoomShape
DoorSlot
GridEntityDoor
DoorSlot
RoomShape
RoomShape
DoorSlot
GridEntityDoor
DoorSlot
GridEntityDoor
GridEntityDoor
GridEntityDoor
DoorSlot
RoomShape
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
RoomType
GridEntityDoor
GridEntityDoor
Direction
GridEntityDoor
GridEntityDoor
GridEntityDoor
GridEntityDoor
Vector
GridEntityDoor
Vector
Vector
DoorSlot
DoorSlot
GridEntityDoor
DoorSlot
GridEntityDoor
DoorSlot
CloseAllDoors
GridEntityDoor
CloseDoorFast
DoorSlot
DoorSlotsToDoorSlotBitMask
DoorSlot
DoorSlotToDirection
DoorSlot
DoorSlotToDoorSlotFlag
GetAngelOrDevilRoomDoor
GetAngelRoomDoor
GetBlueWombDoor
GetDevilRoomDoor
GridEntityDoor
GetDoorEnterPosition
RoomType
GetDoors
DoorSlot
GetDoorSlotEnterPosition
GetDoorSlotEnterPositionOffset
RoomShape
GetDoorSlotsForRoomShape
GetDoorSlotsFromDoorSlotBitMask
GetDoorsToRoomIndex
RoomShape
GetRoomShapeDoorSlot
RoomShape
DoorSlot
GetRoomShapeDoorSlotCoordinates
GetSecretExitDoor
GetUnusedDoorSlots
HasUnusedDoorSlot
GridEntityDoor
IsAngelRoomDoor
GridEntityDoor
IsBlueWombDoor
GridEntityDoor
IsDevilRoomDoor
DoorSlot
RoomShape
IsDoorSlotInRoomShape
GridEntityDoor
IsDoorToDownpour
GridEntityDoor
IsDoorToMausoleum
GridEntityDoor
IsDoorToMausoleumAscent
GridEntityDoor
IsDoorToMines
GridEntityDoor
IsDoorToMomsHeart
GridEntityDoor
IsHiddenSecretDoor
GridEntityDoor
IsSecretExitDoor
GridEntityDoor
IsSecretRoomDoor
GridEntityDoor
LockDoor
OpenAllDoors
GridEntityDoor
OpenDoorFast
RoomType
RemoveAllDoorsOfType
GridEntityDoor
RemoveDoor
GridEntityDoor
RemoveDoors