Clone (Command)

Summon, list and remove player clones from the command line.

Summons the same clone entity that apoli:summon_clone creates, straight from a command. There is no short alias — /clone is a vanilla command.

A clone copies the owning player’s skin, name and (optionally) equipment, follows and fights for them, and despawns after its lifetime runs out.

Sub-commands

Sub-commandWhat it does
summon <owners> [<pos>] [<options>]Spawns clones of each owner.
remove <owners> [<summon_id>]Discards an owner’s clones.
list <owners>Prints an owner’s live clones.

<owners> must select players — a clone copies a player.

summon

apoli:clone summon @s
apoli:clone summon @s ~ ~ ~5
apoli:clone summon @a ~ ~ ~ {count:3,lifetime:600,can_attack:false}

<pos> defaults to the owner’s position. <options> is an NBT compound — every key is optional:

KeyTypeDefaultPurpose
countint1How many clones to spawn per owner (1–64).
lifetimeint1200Ticks before the clone despawns. -1 never despawns.
can_attackbooleantrueWhether the clone attacks the owner’s targets.
can_sitbooleantrueWhether right-clicking the clone toggles sitting.
follow_ownerbooleantrueWhether the clone follows its owner.
slimbooleanfalseUse the slim (3px) arm model.
inherit_equipmentbooleantrueCopy the owner’s armour and held items.
powersstring or list of stringsnonePowers granted to the clone under the apoli:summon source.
summon_idstringnoneA tag you can pass to remove to target this batch.
wide_texturestringnoneSkin texture override for the wide model.
slim_texturestringnoneSkin texture override for the slim model.
apoli:clone summon @s ~ ~ ~ {count:2,summon_id:"example:shadow",powers:["example:shadow_glow"],lifetime:-1}

remove

apoli:clone remove @s
apoli:clone remove @s example:shadow

Without a summon_id every clone the owner has is discarded; with one only clones carrying that id are.

list

apoli:clone list @s

Prints each clone’s UUID, owner, summon_id and lifetime, and returns the count.

summon and list search a 256-block box around each owner, so clones in unloaded chunks or far-away dimensions are not found.