Skip to content

LockState

Defined in: collections/gridEntityStates.ts:54

For GridEntityType.LOCK (11).

LOCKED: 0

Defined in: collections/gridEntityStates.ts:55


UNLOCKED: 1

Defined in: collections/gridEntityStates.ts:62

Note that the locked block will turn to this state as soon as the key is inserted and stays this state after disappearing. Thus, unlike the RockState.BROKEN enum, you cannot use this state as a proxy for being able to move through the grid entity.