Entity Glow
Makes other entities glow (as with the glowing status effect), but only for the player that has the power.
Type ID: origins:entity_glow
Fields
| Field | Type | Default | Description |
|---|---|---|---|
entity_condition |
Entity Condition Type | optional | If specified, only entities which fulfill this condition will glow for the player that has the power. |
bientity_condition |
Bi-entity Condition Type | optional | If specified, the power will only be active if this condition is fulfilled by either or both the 'actor' (the player that has the power) and 'target' (the entity that would glow) entities. |
use_teams |
Boolean | true |
Determines whether glowing entities should use their team's color with their glow. If set to false, the entity will instead use the red, green and blue fields within this power type. |
red |
Float | 1.0 |
Value by which the red component of the glow will be multiplied. Range: 0.0 - 1.0. |
green |
Float | 1.0 |
Value by which the green component of the glow will be multiplied. Range: 0.0 - 1.0. |
blue |
Float | 1.0 |
Value by which the blue component of the glow will be multiplied. Range: 0.0 - 1.0. |
Examples
{
"type": "origins:entity_glow",
"entity_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:in_block_anywhere",
"block_condition": {
"type": "origins:in_tag",
"tag": "origins:cobwebs"
}
},
{
"type": "origins:entity_group",
"group": "arthropod",
"inverted": true
}
]
}
}
This example will make all entities which are not arthropods glow when they're in cobwebs. The glow is the same color as the entity's team.
{
"type": "origins:entity_glow",
"bientity_condition": {
"type": "origins:can_see"
},
"use_teams": false,
"red": 0.0,
"green": 1.0,
"blue": 0.0
}
This example will make all entities that the player is able to see glow with a green glow.