Origins: Powerful Powers
» Entity actions » Fake entity action

Fake entity action

origins-powerful-powers:fake_entity_actionentity action

Runs actions on fake entities.

FieldTypeDefaultDescription
idIntegernoneThe fake entity to act on, whoever owns it. Left out: every fake entity the running entity spawned.
fake_entity_conditionEntity conditionnoneOnly fake entities that pass this.
entity_actionEntity actionnoneRuns on the fake entity.
bientity_actionBi-entity actionnoneThe actor is the entity running the action and the target is the fake entity.

Example: your fake entities glow for 5 seconds.

json
{
  "type": "origins-powerful-powers:fake_entity_action",
  "entity_action": {
    "type": "origins:apply_effect",
    "effect": {
      "effect": "minecraft:glowing",
      "duration": 100
    }
  }
}