Entity
paper/entity_equipment
Entity Equipment
Gets or sets an equipment slot on a living entity (armour, held item, etc.).
Note: Use the Create Item node to build an ItemStack to equip. Both the input and output use the item_stack type for full item data (name, lore, enchantments, etc.).
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
entity |
entity | The living entity. | |
item |
item_stack | ✓ | Item to equip (leave disconnected to only get). |
slot |
string | ✓ | Slot name override. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after the operation. |
item |
item_stack | Item currently in the slot. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
slot |
string | "HAND" |
HAND, OFF_HAND, HEAD, CHEST, LEGS, or FEET. |
Examples
Equip zombie with iron sword
Give a spawned zombie an iron sword.
- Spawn Entity → entity → Entity Equipment
- Create Item (IRON_SWORD) → item → Entity Equipment
- Set Slot to HAND