Skip to content

Modify Glowing Self

Modifies whether the entity holding the power should glow for other entities and what color should the glowing effect have.

Type ID: kaya:modify/glowing/self

Info

This type provides the following context parameters:

Parameter Description
kaya:actor_entity The entity seeing the entity holding the power.
kaya:target_entity The entity holding the power.

Format

Field Type Default Description
use_team_color Boolean Provider true Determines whether the glowing effect should use the entity's team color.
color Color optional Determines the color that'll be used for the glowing effect.

Example

{
    "type": "kaya:modify/glowing/other",
    "use_team_color": false,
    "color": "#a727fcd9",
    "active_condition": {
        "type": "kaya:inverted",
        "condition": {
            "type": "kaya:is_entity_sneaking",
            "entity": "this"
        }
    }
}

This example will make the entity holding the power glow purple if they aren't sneaking.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.