Entity - Item from Equipment Slot (Expression) — Lusk

Addon: Lusk · Category: Expression · Since: 1.3

Syntax

[the] equipment[[ |-]slot][s] %equipmentslots% of %livingentities%

Description

Gets the item in one or more equipment slots of one or more entities, if the entity cannot use a provided slot it will fail silently. This might not work when trying to get a slot on an entity that doesnt have that slot AND if you're not running at least Paper 1.21

Can be set.

Examples

broadcast equipment slot chest slot

View source