Skip to content

@pumpkin-plugins/dynamic-lights-pumpkin API / lights/entity-lights / VisibleEntityLight

Interface: VisibleEntityLight ​

Defined in: packages/dynamic-lights-pumpkin/src/lights/entity-lights.ts:4

An entity light visible to one player during a refresh.

Properties ​

entityId ​

readonly entityId: number

Defined in: packages/dynamic-lights-pumpkin/src/lights/entity-lights.ts:6

Stable identifier for the source entity.


level ​

readonly level: number

Defined in: packages/dynamic-lights-pumpkin/src/lights/entity-lights.ts:10

Minecraft light level, from 1 through 15.


position ​

readonly position: BlockPosition

Defined in: packages/dynamic-lights-pumpkin/src/lights/entity-lights.ts:8

Position of the fake client-only light block.

Pumpkin Plugins documentation