枚举 EquipmentSlot实验性

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

枚举成员

Body

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

Chest

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

Feet

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

Head

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

Legs

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

Mainhand

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

Offhand

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