@pumpkin-plugins/dynamic-lights-pumpkin API / lights/client-light / LightClient
Interface: LightClient
Defined in: packages/dynamic-lights-pumpkin/src/lights/client-light.ts:9
The player operations needed to show and clear a client-only light block.
Methods
resetBlockChange()
resetBlockChange(
position):void
Defined in: packages/dynamic-lights-pumpkin/src/lights/client-light.ts:14
Shows the actual server block again at this position.
Parameters
position
Returns
void
sendBlockChange()
sendBlockChange(
position,stateId):void
Defined in: packages/dynamic-lights-pumpkin/src/lights/client-light.ts:11
Shows a temporary block state without changing the server world.
Parameters
position
stateId
number
Returns
void