@minecraft/server
    Preparing search index...

    Enumeration EquipmentSlotBeta

    The equipment slot of the mob. This includes armor, offhand and mainhand slots.

    Index

    Enumeration Members

    Enumeration Members

    Body: "Body"

    The body slot. This slot is used to hold armor for non-humanoid mobs.

    Chest: "Chest"

    The chest slot. This slot is used to hold items such as Chestplate or Elytra.

    Feet: "Feet"

    The feet slot. This slot is used to hold items such as Boots.

    Head: "Head"

    The head slot. This slot is used to hold items such as Helmets or Carved Pumpkins.

    Legs: "Legs"

    The legs slot. This slot is used to hold items such as Leggings.

    Mainhand: "Mainhand"

    The mainhand slot. For players, the mainhand slot refers to the currently active hotbar slot.

    Offhand: "Offhand"

    The offhand slot. This slot is used to hold items such as shields and maps.