Guide 1 Docs 2 Reference 3

Method of BlockAt

blockAt:become

**The door**: this block stops being a block, and that entity appears.

blockAt:become(entity: string, data: { [string]: any }?)

Parameters

entitystringrequired
data{ [string]: any }optional