BetaReadonly BetaentityReadonly BetaisReadonly BetatotalReadonly BetatotalReadonly BetatypeStatic Readonly BetacomponentBetaThe equipment slot. e.g. "head", "chest", "offhand"
Returns the item equipped to the given EquipmentSlot. If empty, returns undefined.
BetaThe equipment slot. e.g. "head", "chest", "offhand".
Returns the ContainerSlot corresponding to the given EquipmentSlot.
BetaThe equipment slot. e.g. "head", "chest", "offhand".
OptionalitemStack: ItemStackThe item to equip. If undefined, clears the slot.
Provides access to a mob's equipment slots. This component exists on player entities.
Example: givePlayerElytra.ts