Skip to main content

Disguise (Bi-Entity Action Type)

Disguises the actor as the target, copying the target's type and NBT so the actor looks identical to it. It was ported from the Sync mod, and suits powers where you become whatever you hit or look at.

Type ID: apoli:disguise

Fields

FieldTypeDefaultDescription
overwriteBooleantrueWith false, does nothing when the actor is already disguised.
change_nameBooleantrueWhether the disguise also changes the name the actor shows in its nameplate, in chat and in the multiplayer tab list. Set it to false to keep the original name.

Examples

"bientity_action": {
    "type": "apoli:disguise"
}

The actor takes on the appearance of the target.

Neither the actor nor the target has to be a player. A mob or a player told to disguise as a player is drawn as that player, skin and arm model included. See apoli:disguise_as for how the disguise is rendered.

note

A disguise also changes the actor's name in chat and in the multiplayer tab list, as well as the nameplate, unless change_name is false. An active apoli:modify_label_render takes priority over the disguise's name.