Fake entity condition
origins-powerful-powers:fake_entityentity condition
Counts the fake entities that match, and compares the count.
| Field | Type | Default | Description |
|---|---|---|---|
id | Integer | none | Only the fake entity with this id, whoever owns it. Left out: every fake entity this entity spawned. |
entity_condition | Entity condition | none | Checked on the fake entity. |
bientity_condition | Bi-entity condition | none | The actor is this entity and the target is the fake entity. |
comparison | Comparison | ">=" | |
compare_to | Integer | 1 |
With only the defaults, it's "this entity has at least one fake entity".
Example: true while one of your fake entities is within 3 blocks of you.
{
"type": "origins-powerful-powers:fake_entity",
"bientity_condition": {
"type": "origins:distance",
"comparison": "<=",
"compare_to": 3
}
}