Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

EquipmentTrait

const EquipmentTrait: Trait<() => Partial<Record<EquipmentSlot, ItemStack>>>

The items an entity wears. The verbs write a new record, so a reader of the trait sees each change.