Skip to content

GridEntityCustomData

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:12

This is meta-data that describes a custom grid entity.

(One of the extra features that the standard library offers is the ability to spawn custom grid entities with the spawnCustomGridEntity helper function.)

readonly gridEntityTypeCustom: GridEntityType

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:17

This is not a real GridEntityType; rather it is an arbitrary integer selected by end-user mods.

readonly roomListIndex: int

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:19

readonly gridIndex: int

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:20

readonly optional gridCollisionClass?: GridCollisionClass

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:21

readonly optional anm2Path?: string

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:22

readonly optional defaultAnimation?: string

Defined in: packages/isaacscript-common/src/interfaces/GridEntityCustomData.ts:23