setBrightnessOverride

public ModeledEntity setBrightnessOverride(int blockLight, int skyLight)

Lights every display bone at a fixed level instead of the light where it stands, as a glowing creature or a lantern needs. 15 and 15 is fully bright day and night. Java display bones only: Bedrock and armor stand bones keep their world light. Viewers get the change with the next bone update.

Return

the current ModeledEntity instance, allowing for method chaining

Parameters

blockLight

0 to 15

skyLight

0 to 15