Origins: Powerful Powers
» Entity actions » Fake entity condition

Fake entity condition

origins-powerful-powers:fake_entityentity condition

Counts the fake entities that match, and compares the count.

FieldTypeDefaultDescription
idIntegernoneOnly the fake entity with this id, whoever owns it. Left out: every fake entity this entity spawned.
entity_conditionEntity conditionnoneChecked on the fake entity.
bientity_conditionBi-entity conditionnoneThe actor is this entity and the target is the fake entity.
comparisonComparison">="
compare_toInteger1

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.

json
{
  "type": "origins-powerful-powers:fake_entity",
  "bientity_condition": {
    "type": "origins:distance",
    "comparison": "<=",
    "compare_to": 3
  }
}