A PreBlock is what must be provided to the Game.registerBlock function. Do not use a PreBlock for mutating the level, instead use the Block returned by the Game.registerBlock function.
Readonly
The identifier of the block.
The identifier must only have lowercase letters and underscores.
The human-readable name of the block.
This is the name that will be shown to users.
The block's texture on all sides.
This texture must be 16 by 16 pixels.
A PreBlock is what must be provided to the Game.registerBlock function. Do not use a PreBlock for mutating the level, instead use the Block returned by the Game.registerBlock function.