Skip to main content

LockState

For GridEntityType.LOCK (11).

Enumeration Members

LOCKED

LOCKED = 0

Defined in

collections/gridEntityStates.ts:55


UNLOCKED

UNLOCKED = 1

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.

Defined in

collections/gridEntityStates.ts:62