|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
|
|
|
## Description
|
|
|
Configure the model's block and sky light.
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|------------|------------------|------------------------------------------------------------------------------|---------|---------|
|
|
|
| modelid | m, mid, model | Targeted model | String | |
|
|
|
| partid | p, pid, part | Targeted rendering bone.<br/>If not set, set brightness of the entire model. | String | |
|
|
|
| block | b | Block light level. Value must be 0 - 15, or -1 for auto brightness | Integer | -1 |
|
|
|
| sky | s | Sky light level. Value must be 0 - 15, or -1 for auto brightness | Integer | -1 |
|
|
|
| exactmatch | em, exact, match | Should the part match the `partid` completely | Boolean | true |
|
|
|
|
|
|
## Examples
|
|
|
This makes the designated part glow even in the dark, such as a spider's eyes or a breeze's body.
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- model{m=customSpider} @self ~onSpawn
|
|
|
- brightness{p=eyes;b=15;s=15} @self ~onSpawn
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] light |
|
|
\ No newline at end of file |