Player - Shoulder Entity (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.21.0
Syntax
[the] (left|right) shoulder entity of %players%Description
Gets the entity currently perched on the shoulder of a player or null if no entity. The returned entity will not be spawned within the world, so most operations are invalid unless the entity is first spawned in. When setting, this will remove the entity from the world. Note that only a copy of the entity will be set to display on the shoulder. Also note that the client will currently only render Parrot entities. Deleting will remove the entity from the player's shoulder. Resetting will release the entity from the player's shoulder.
Examples
if right shoulder entity of player is set:
set left should entity of player to {_parrot}
delete right shoulder entity of player