Skip to content

GridEntityType

Defined in: GridEntityType.ts:1

NULL: 0

Defined in: GridEntityType.ts:2


DECORATION: 1

Defined in: GridEntityType.ts:5

Does not correspond to any specific GridEntity class.


ROCK: 2

Defined in: GridEntityType.ts:12

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK (1000).


BLOCK: 3

Defined in: GridEntityType.ts:19

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.BLOCK (1900).


ROCK_TINTED: 4

Defined in: GridEntityType.ts:28

The rocks with an “X” on them that produce soul hearts and other rewards when destroyed.

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK_TINTED (1003).


ROCK_BOMB: 5

Defined in: GridEntityType.ts:35

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK_BOMB (1001).


ROCK_ALT: 6

Defined in: GridEntityType.ts:48

An urn, mushroom, skull, polyp, or bucket, depending on what the backdrop type. For more information, see the getRockAltType helper function.

(Contrary to popular belief, the stage does not matter for the purposes of determining what the RockAltType is.)

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK_ALT (1002).


PIT: 7

Defined in: GridEntityType.ts:55

Grid entities with this type can be converted to the GridEntityPit class.

Corresponds to GridEntityXMLType.PIT (3000).


SPIKES: 8

Defined in: GridEntityType.ts:62

Grid entities with this type can be converted to the GridEntitySpikes class.

Corresponds to GridEntityXMLType.SPIKES (1930).


SPIKES_ON_OFF: 9

Defined in: GridEntityType.ts:69

Grid entities with this type can be converted to the GridEntitySpikes class.

Corresponds to GridEntityXMLType.SPIKES_ON_OFF (1931).


SPIDER_WEB: 10

Defined in: GridEntityType.ts:76

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.SPIDER_WEB (1940).


LOCK: 11

Defined in: GridEntityType.ts:85

A key block.

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.LOCK (4000).


TNT: 12

Defined in: GridEntityType.ts:92

Grid entities with this type can be converted to the GridEntityTNT class.

Corresponds to GridEntityXMLType.TNT (1300).


FIREPLACE: 13

Defined in: GridEntityType.ts:100

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.FIREPLACE (1400) and GridEntityXMLType.RED_FIREPLACE (1410).


POOP: 14

Defined in: GridEntityType.ts:107

Grid entities with this type can be converted to the GridEntityPoop class.

Corresponds to many different GridEntityXMLType values.


WALL: 15

Defined in: GridEntityType.ts:114

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.WALL (1999).


DOOR: 16

Defined in: GridEntityType.ts:121

Grid entities with this type can be converted to the GridEntityDoor class.

Does not correspond to any GridEntityXMLType value.


TRAPDOOR: 17

Defined in: GridEntityType.ts:128

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.TRAPDOOR (9000).


CRAWL_SPACE: 18

Defined in: GridEntityType.ts:135

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.CRAWL_SPACE (9100).


GRAVITY: 19

Defined in: GridEntityType.ts:142

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.GRAVITY (10000).


PRESSURE_PLATE: 20

Defined in: GridEntityType.ts:149

Grid entities with this type can be converted to the GridEntityPressurePlate class.

Corresponds to GridEntityXMLType.PRESSURE_PLATE (4500).


STATUE: 21

Defined in: GridEntityType.ts:157

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.STATUE_DEVIL (5000) and GridEntityXMLType.STATUE_ANGEL (5001).


ROCK_SUPER_SPECIAL: 22

Defined in: GridEntityType.ts:166

A super tinted rock that yields double rewards.

Grid entities with this type can be converted to the GridEntityRock class.

Does not correspond to any GridEntityXMLType value.


TELEPORTER: 23

Defined in: GridEntityType.ts:173

Does not correspond to any specific GridEntity class.

Corresponds to GridEntityXMLType.TELEPORTER (6100).


PILLAR: 24

Defined in: GridEntityType.ts:180

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.PILLAR (1901).


ROCK_SPIKED: 25

Defined in: GridEntityType.ts:187

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK_SPIKED (1010).


ROCK_ALT_2: 26

Defined in: GridEntityType.ts:196

A marked skull that will always drop a Fool card.

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK_ALT_2 (1008).


ROCK_GOLD: 27

Defined in: GridEntityType.ts:203

Grid entities with this type can be converted to the GridEntityRock class.

Corresponds to GridEntityXMLType.ROCK_GOLD (1011).