Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2437 tags...
Name<EntityTag.brightness>
ReturnsMapTag
MechanismEntityTag.brightness
Description(Property) A map of the display entity's brightness override (if any), containing "block" and "sky" keys, each with a brightness level between 0 and 15.
For the mechanism: provide no input to remove the brightness override.
Example
# Sets the brightness of the display entity to be as if the block was well lit by a torch in a cave (no sky light).
- adjust <[some_entity]> brightness:[sky=0;block=15]
Example
# Spawns a block_display entity of a stone that is middle brightness from both the sky and block sources.
- spawn block_display[material=stone;brightness=[sky=7;block=7]] <player.location>
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBrightness.java#L11