@minecraft/server / EquipmentSlot
Enumeration: EquipmentSlot ​
Defined in: @minecraft/server/index.d.ts:1551
The equipment slot of the mob. This includes armor, offhand and mainhand slots.
Enumeration Members ​
Chest ​
Chest:
"Chest"
Defined in: @minecraft/server/index.d.ts:1558
Remarks ​
The chest slot. This slot is used to hold items such as Chestplate or Elytra.
Feet ​
Feet:
"Feet"
Defined in: @minecraft/server/index.d.ts:1565
Remarks ​
The feet slot. This slot is used to hold items such as Boots.
Head ​
Head:
"Head"
Defined in: @minecraft/server/index.d.ts:1572
Remarks ​
The head slot. This slot is used to hold items such as Helmets or Carved Pumpkins.
Legs ​
Legs:
"Legs"
Defined in: @minecraft/server/index.d.ts:1579
Remarks ​
The legs slot. This slot is used to hold items such as Leggings.
Mainhand ​
Mainhand:
"Mainhand"
Defined in: @minecraft/server/index.d.ts:1586
Remarks ​
The mainhand slot. For players, the mainhand slot refers to the currently active hotbar slot.
Offhand ​
Offhand:
"Offhand"
Defined in: @minecraft/server/index.d.ts:1593
Remarks ​
The offhand slot. This slot is used to hold items such as shields and maps.