five-on-it / packages/sim/src/items / setSlots
Function: setSlots()
setSlots(
sim,eid,stacks):void
Defined in: packages/sim/src/items.ts:365
Sets what an entity holds, slot by slot (a client's copy of what the server says it holds).
Parameters
sim
eid
number
stacks
readonly ItemStack[]
Returns
void