Skip to main content

Action On Revive (Power Type)

Fires when the holder is brought back up from the knocked-out state.

Type ID: apoli:action_on_revive

note

This type needs Hardcore Revival and doesn't exist without it, so a pack that uses it must depend on the mod.

Fields

FieldTypeDefaultDescription
entity_actionEntity Action TypeoptionalRuns on the holder as they get back up.
bientity_actionBi-entity Action TypeoptionalRuns when another player rescues the holder, with the rescuer as the actor and the holder as the target.

Example

{
  "type": "apoli:action_on_revive",
  "entity_action": {
    "type": "apoli:and",
    "actions": [
      { "type": "apoli:apply_effect", "effect": { "effect": "minecraft:weakness", "duration": 600 } },
      { "type": "apoli:apply_effect", "effect": { "effect": "minecraft:slowness", "duration": 300 } }
    ]
  }
}

The holder comes back weakened and slowed instead of at full strength, which keeps a revive meaningful.