InventoryTrait
constInventoryTrait:Trait<() => (ItemStack|null)[]>
An entity’s bag: a fixed count of slots, each empty or one stack. The verbs write a new list, so a reader of the trait sees each change.
constInventoryTrait:Trait<() => (ItemStack|null)[]>
An entity’s bag: a fixed count of slots, each empty or one stack. The verbs write a new list, so a reader of the trait sees each change.