Skip to content

GridEntityXMLType

Defined in: GridEntityXMLType.ts:8

The type of a grid entity as represented in a room XML/STB file.

This is converted by the game to the GridEntityType enum.

The gridspawn console command accepts GridEntityXMLType instead of GridEntityType.

DECORATION: 0

Defined in: GridEntityXMLType.ts:10

Corresponds to GridEntityType.DECORATION (1).


EFFECT: 999

Defined in: GridEntityXMLType.ts:13

Corresponds to EntityType.EFFECT (1000).


ROCK: 1000

Defined in: GridEntityXMLType.ts:16

Corresponds to GridEntityType.ROCK (2).


ROCK_BOMB: 1001

Defined in: GridEntityXMLType.ts:19

Corresponds to GridEntityType.ROCK_BOMB (5).


ROCK_ALT: 1002

Defined in: GridEntityXMLType.ts:30

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.)

Corresponds to GridEntityType.ROCK_ALT (6).


ROCK_TINTED: 1003

Defined in: GridEntityXMLType.ts:37

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

Corresponds to GridEntityType.ROCK_TINTED (4).


ROCK_ALT_2: 1008

Defined in: GridEntityXMLType.ts:44

A marked skull that will always drop a Fool card.

Corresponds to GridEntityType.ROCK_ALT_2 (26).


ROCK_EVENT: 1009

Defined in: GridEntityXMLType.ts:50

Rocks that will be destroyed when other nearby rocks are. In-game, it will be a GridEntityType.ROCK (2) with a VarData of 1.


ROCK_SPIKED: 1010

Defined in: GridEntityXMLType.ts:53

Corresponds to GridEntityType.ROCK_SPIKED (25).


ROCK_GOLD: 1011

Defined in: GridEntityXMLType.ts:56

Corresponds to GridEntityType.ROCK_GOLD (27).


TNT: 1300

Defined in: GridEntityXMLType.ts:59

Corresponds to GridEntityType.TNT (12).


FIREPLACE: 1400

Defined in: GridEntityXMLType.ts:62

Corresponds to GridEntityType.FIREPLACE (13), FireplaceGridEntityVariant.NORMAL (0).


RED_FIREPLACE: 1410

Defined in: GridEntityXMLType.ts:65

Corresponds to GridEntityType.FIREPLACE (13), FireplaceGridEntityVariant.RED (1).


POOP_RED: 1490

Defined in: GridEntityXMLType.ts:68

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.RED (1).


POOP_RAINBOW: 1494

Defined in: GridEntityXMLType.ts:71

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.RAINBOW (4).


POOP_CORNY: 1495

Defined in: GridEntityXMLType.ts:74

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.CORNY (2).


POOP_GOLDEN: 1496

Defined in: GridEntityXMLType.ts:77

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.GOLDEN (3).


POOP_BLACK: 1497

Defined in: GridEntityXMLType.ts:80

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.BLACK (5).


POOP_WHITE: 1498

Defined in: GridEntityXMLType.ts:83

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.WHITE (6).


POOP_GIGA: 1499

Defined in: GridEntityXMLType.ts:89

Corresponds to GridEntityType.POOP (14) and the four “GIGA” variants of PoopGridEntityVariant.


POOP: 1500

Defined in: GridEntityXMLType.ts:92

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.NORMAL (0).


POOP_CHARMING: 1501

Defined in: GridEntityXMLType.ts:95

Corresponds to GridEntityType.POOP (14), PoopGridEntityVariant.CHARMING (11).


BLOCK: 1900

Defined in: GridEntityXMLType.ts:98

Corresponds to GridEntityType.BLOCK (3).


PILLAR: 1901

Defined in: GridEntityXMLType.ts:101

Corresponds to GridEntityType.PILLAR (24).


SPIKES: 1930

Defined in: GridEntityXMLType.ts:104

Corresponds to GridEntityType.SPIKES (8).


SPIKES_ON_OFF: 1931

Defined in: GridEntityXMLType.ts:107

Corresponds to GridEntityType.SPIKES_ON_OFF (9).


SPIDER_WEB: 1940

Defined in: GridEntityXMLType.ts:110

Corresponds to GridEntityType.SPIDER_WEB (10).


WALL: 1999

Defined in: GridEntityXMLType.ts:113

Corresponds to GridEntityType.WALL (15).


PIT: 3000

Defined in: GridEntityXMLType.ts:116

Corresponds to GridEntityType.PIT (7).


FISSURE_SPAWNER: 3001

Defined in: GridEntityXMLType.ts:119

Corresponds to EntityType.EFFECT (1000), EffectVariant.FISSURE_SPAWNER (192).


PIT_EVENT: 3009

Defined in: GridEntityXMLType.ts:125

Pits that will be filled in when nearby rocks are destroyed. In-game, it will be a GridEntityType.PIT (7) with a VarData of 1.


LOCK: 4000

Defined in: GridEntityXMLType.ts:132

A key block.

Corresponds to GridEntityType.LOCK (11).


PRESSURE_PLATE: 4500

Defined in: GridEntityXMLType.ts:135

Corresponds to GridEntityType.PRESSURE_PLATE (20).


STATUE_DEVIL: 5000

Defined in: GridEntityXMLType.ts:138

Corresponds to GridEntityType.STATUE (21), StatueVariant.DEVIL (0).


STATUE_ANGEL: 5001

Defined in: GridEntityXMLType.ts:141

Corresponds to GridEntityType.STATUE (21), StatueVariant.ANGEL (1).


TELEPORTER: 6100

Defined in: GridEntityXMLType.ts:144

Corresponds to GridEntityType.TELEPORTER (23).


TRAPDOOR: 9000

Defined in: GridEntityXMLType.ts:147

Corresponds to GridEntityType.TRAPDOOR (17).


CRAWL_SPACE: 9100

Defined in: GridEntityXMLType.ts:150

Corresponds to GridEntityType.CRAWL_SPACE (18).


GRAVITY: 10000

Defined in: GridEntityXMLType.ts:153

Corresponds to GridEntityType.GRAVITY (19).