Skip to main content

Interface: EmitterBlock

The slice of a client block definition the scanner needs. Structural on purpose: tests feed it plain objects, the world feeds it its registry.

Properties

blueLightLevel

blueLightLevel: number


faces

Optional faces: EmitterBlockFace[]

Authored face geometry. When present and the block declares emissive faces, the default emitter anchor is derived from the hot faces instead of the voxel center — a torch emits from its flame, not its stick.


greenLightLevel

greenLightLevel: number


id

id: number


isLight

isLight: boolean


redLightLevel

redLightLevel: number