Summon Clone (Entity Action Type)

Summons a clone that fights for the player who has the power.

Summons a clone that fights for the player who has the power. The clone is player-shaped, attacks with melee, a bow, or a crossbow (whatever it holds), defends/assists its owner, and can be told to sit by right-clicking it. It mirrors the owner’s entity_texture_overlay so they look the same. Only works when the action’s entity is a player.

Type ID: apoli:summon_clone

Fields

FieldTypeDefaultDescription
can_attackBooleantrueWhether the clone attacks the owner’s enemies.
can_sitBooleantrueWhether the owner can toggle the clone sitting by right-clicking it.
follow_ownerBooleantrueWhether the clone follows the owner when far away.
inherit_equipmentBooleantrueWhether the clone copies the owner’s worn/held equipment.
inherit_enchantmentsBooleantrueWhether inherited equipment keeps its enchantments (and other components).
slimBooleanfalseForces the slim arm model. Only used when custom textures are set; otherwise the owner’s model is mirrored.
wide_textureIdentifieroptionalCustom texture for the wide model. If unset, the owner’s skin is used.
slim_textureIdentifieroptionalCustom texture for the slim model. If unset, the owner’s skin is used.
max_life_ticksInteger1200Ticks before the clone vanishes. 0 or less = permanent until killed.
summon_idIdentifieroptionalA tag used by apoli:set_summon_max_life to target this clone.
powersArray of IdentifiersoptionalPowers to grant the clone on spawn.
bientity_actionBi-entity Action TypeoptionalRuns once after the clone spawns, with the owner as actor and the clone as target.

Examples

"entity_action": {
    "type": "apoli:summon_clone",
    "max_life_ticks": 600,
    "inherit_equipment": true
}

Summons a clone that looks like the player, inherits their gear, fights for them, and disappears after 30 seconds.