Armor Slot (Expression) — Skript
Addon: Skript · Category: Expression · Since: 1.0, 2.8.0 (armor), 2.10 (body armor), 2.12 (saddle), 2.12.1 (happy ghast)
Syntax
[the] (%-*equipmentslots%|[the] armo[u]r[s]) [item[s]] of %livingentities%Description
Equipment of living entities, i.e. the boots, leggings, chestplate or helmet. Body armor is a special slot that can only be used for: <ul> <li>Horses: Horse armour (doesn't work on zombie or skeleton horses)</li> <li>Wolves: Wolf Armor</li> <li>Llamas (regular or trader): Carpet</li> <li>Happy Ghasts: Harness</li> </ul> Saddle is a special slot that can only be used for: pigs, striders and horse types (horse, camel, llama, mule, donkey).
Examples
set chestplate of the player to a diamond chestplate
helmet of player is neither tag values of tag "paper:helmets" nor air # player is wearing a block, e.g. from another plugin