Fake entity action
origins-powerful-powers:fake_entity_actionentity action
Runs actions on fake entities.
| Field | Type | Default | Description |
|---|---|---|---|
id | Integer | none | The fake entity to act on, whoever owns it. Left out: every fake entity the running entity spawned. |
fake_entity_condition | Entity condition | none | Only fake entities that pass this. |
entity_action | Entity action | none | Runs on the fake entity. |
bientity_action | Bi-entity action | none | The actor is the entity running the action and the target is the fake entity. |
Example: your fake entities glow for 5 seconds.
{
"type": "origins-powerful-powers:fake_entity_action",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:glowing",
"duration": 100
}
}
}