Skip to main content

Summon Minion (Entity Action Type)

Summons a minion owned by the living entity that has the power. A minion is a lightweight follower with no combat AI. It follows the owner, optionally at an offset, or hovers in place.

Type ID: apoli:summon_minion

Fields

FieldTypeDefaultDescription
textureIdentifierapoli:textures/entity/minion_template.pngThe minion's texture.
follow_ownerBooleanfalseWith true, the minion follows the owner and floats, ignoring gravity.
follow_offsetVectoroptionalThe offset from the owner while following. The minion also spawns this far from the spawn point.
scaleFloat1.0The render and hitbox scale.
invulnerableBooleanfalseWhether the minion is invulnerable.
max_life_ticksInteger1200Ticks before the minion dies by itself. 0 or less makes it permanent until it is killed.
summon_idIdentifieroptionalA tag that apoli:set_summon_max_life can use to target this minion.
powersArray of IdentifiersoptionalPowers to grant the minion when it spawns. Granting it a geometry mode apoli:custom_model_render replaces the minion's model with a Blockbench one.
bientity_actionBi-entity Action TypeoptionalRuns once after the minion spawns, with the owner as the actor and the minion as the target. If it moves the minion, for example with an apoli:teleport_to that puts it in front of you, every player watching sees it appear at its new spot instead of at yours.
offsetVector{"x": 0, "y": 0, "z": 0}Moves the spawn point away from the owner by this much, in blocks.
spaceSpace"world"The frame offset is read in. "local" follows where the owner is looking, so z is forward and x is to its left.

Examples

"entity_action": {
    "type": "apoli:summon_minion",
    "texture": "example:textures/entity/orbiter.png",
    "follow_owner": true,
    "follow_offset": [0.0, 1.5, -1.0],
    "max_life_ticks": 0
}

This summons a permanent minion that floats above and behind the owner.

note

Running out of max_life_ticks kills the minion instead of deleting it, so an apoli:action_on_death granted through powers fires, and bookkeeping such as returning a summon slot or clearing an apoli:entity_set runs exactly as it does when something kills the minion. Losing its owner (they log out or change dimension) ends it the same way. It drops nothing either way.