Set Summon Max Life - Provismet/Provi-Origins GitHub Wiki

Entity Action Type

Sets the maximum lifetime of a Clone or Minion entity.

Type ID: proviorigins:set_summon_max_life_ticks

Fields

Field Type Default Description
amount Integer The new max lifetime of the entity.

Examples

"entity_action": {
    "type": "proviorigins:set_summon_max_life_ticks",
    "amount": -1
}

Sets the max lifetime to -1, this makes the entity ignore the max lifetime.